CVE-2022-29526Published Jun 22, 2022 · Jun 22Updated Oct 28
golang.org/x/sys/unix has Incorrect privilege reporting in syscall
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/sys Go |
|
|
| stdlib Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/sys Go |
|
|
| stdlib Go |
|
|
Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.
From the CVE record · mitre
Go's Faccessat function can incorrectly report that a file is accessible when called with a non-zero flags parameter. An attacker could potentially take advantage of that incorrect result; the input does not specify network or local access, authentication, or user-interaction requirements.
Check applications using Go stdlib before 1.17.10 or from 1.18.0 up to but not including 1.18.2, or golang.org/x/sys before 0.0.0-20220412211240-33da011f77ad.