{"schema_version":"1.9.0","id":"GHSA-p782-xgp4-8hr8","published":"2022-06-24T00:00:30Z","modified":"2026-09-10T03:49:55.203258210Z","aliases":["BIT-golang-2022-29526","CVE-2022-29526","GO-2022-0493"],"summary":"golang.org/x/sys/unix has Incorrect privilege reporting in syscall","details":"Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Reporting in syscall. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.\n\n### Specific Go Packages Affected\ngolang.org/x/sys/unix","affected":[{"package":{"name":"golang.org/x/sys","ecosystem":"Go","purl":"pkg:golang/golang.org/x/sys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20220412211240-33da011f77ad"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-p782-xgp4-8hr8/GHSA-p782-xgp4-8hr8.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29526"},{"type":"WEB","url":"https://github.com/golang/go/issues/52313"},{"type":"PACKAGE","url":"https://github.com/golang/go"},{"type":"WEB","url":"https://go.dev/cl/399539"},{"type":"WEB","url":"https://go.dev/cl/400074"},{"type":"WEB","url":"https://go.dev/issue/52313"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0493"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-02"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220729-0001"}],"database_specific":{"cwe_ids":["CWE-269"],"github_reviewed":true,"github_reviewed_at":"2023-02-08T00:30:54Z","nvd_published_at":"2022-06-23T17:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}