What’s Vulnerable › Vulnerabilities
CVE-2022-29526: golang.org/x/sys/unix has Incorrect privilege reporting in syscall
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-23 · updated 2026-06-17
- Weakness: CWE-269
Description
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.
Affected products
- Fedoraproject Fedora: 35, 36
- Go: before 1.17.10; from 1.18.0 before 1.18.2 — fixed in 1.17.10, 1.18.2
- NetApp Beegfs Csi Driver: all versions
- Golang.Org/X/Sys: before 0.0.0-20220412211240-33da011f77ad — fixed in 0.0.0-20220412211240-33da011f77ad
- Go Stdlib: before 1.17.10; from 1.18.0-0 before 1.18.2 — fixed in 1.17.10, 1.18.2
How to fix
Upgrade to a fixed version: Go 1.17.10, 1.18.2; Golang.Org/X/Sys 0.0.0-20220412211240-33da011f77ad; Go Stdlib 1.17.10, 1.18.2. Check the vendor advisory for mitigations.
References
- https://github.com/golang/go/issues/52313
- https://groups.google.com/g/golang-announce
- https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/
- https://security.gentoo.org/glsa/202208-02
- https://security.netapp.com/advisory/ntap-20220729-0001/
- https://github.com/golang/go/issues/52313
- https://groups.google.com/g/golang-announce
- https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU
Get alerted when CVE-2022-29526 or the next vulnerability affects your stack