Go Vulnerability Database
GO-2022-0493
Incorrect privilege reporting in syscall and golang.org/x/sys/unix
Details
When called with a non-zero flags parameter, the Faccessat function can incorrectly report that a file is accessible.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.17.10 (fixed in 1.17.10) From 1.18.0-0 before 1.18.2 (fixed in 1.18.2) |
| Go | golang.org/x/sys | All versions before 0.0.0-20220412211240-33da011f77ad (fixed in 0.0.0-20220412211240-33da011f77ad) |