GO-2022-0493
Incorrect privilege reporting in syscall and golang.org/x/sys/unix
At a glance
- Published
- Updated
- CVE
- CVE-2022-29526
- Aliases
- BIT-golang-2022-29526, GHSA-p782-xgp4-8hr8
Description
When called with a non-zero flags parameter, the Faccessat function can incorrectly report that a file is accessible.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.17.10, introduced 1.18.0-0, fixed 1.18.2 |
| Go · golang.org/x/sys | introduced 0, fixed 0.0.0-20220412211240-33da011f77ad |
References
- https://go.dev/cl/399539 FIX
- https://go.dev/issue/52313 REPORT
- https://go.dev/cl/400074 FIX
- https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |