{"schema_version":"1.3.1","id":"GO-2022-0493","modified":"2024-05-20T16:03:47Z","published":"2022-07-15T23:30:12Z","aliases":["CVE-2022-29526","GHSA-p782-xgp4-8hr8"],"summary":"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":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.10"},{"introduced":"1.18.0-0"},{"fixed":"1.18.2"}]}],"ecosystem_specific":{"imports":[{"path":"syscall","symbols":["Faccessat"]}]}},{"package":{"name":"golang.org/x/sys","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20220412211240-33da011f77ad"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/sys/unix","symbols":["Faccessat"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/399539"},{"type":"REPORT","url":"https://go.dev/issue/52313"},{"type":"FIX","url":"https://go.dev/cl/400074"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU"}],"credits":[{"name":"Joël Gähwiler (@256dpi)"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0493","review_status":"REVIEWED"}}