CVE-2022-29526
MEDIUM 5.3CVSS 3.1golang.org/x/sys/unix has Incorrect privilege reporting in syscall
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.
- Published
- 23 Jun 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- BIT-golang-2022-29526GHSA-p782-xgp4-8hr8GO-2022-0493
- Sources
- NVDJSONOSV GHSA-p782-xgp4-8hr8JSONOSV GO-2022-0493JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.17.10 | 1.17.10 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.18.0, < 1.18.2 | 1.18.2 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | netapp | beegfs_csi_drivercpe:2.3:a:netapp:beegfs_csi_driver:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | golang.org/x/sys | < 0.0.0-20220412211240-33da011f77ad | 0.0.0-20220412211240-33da011f77ad |
| OSV | Go | stdlib | < 1.17.10; >= 1.18.0-0, < 1.18.2 | 1.17.10, 1.18.2 |
References
- https://github.com/golang/go/issues/52313 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://groups.google.com/g/golang-announce · Issue Tracking, Mailing List, Third Party Advisory, WEB
- https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU · Mailing List, Third Party Advisory, WEB
- 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 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220729-0001/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29526 · ADVISORY
- https://github.com/golang/go · PACKAGE
- https://go.dev/cl/399539 · WEB, FIX
- https://go.dev/cl/400074 · WEB, FIX
- https://go.dev/issue/52313 · WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR · WEB
- https://pkg.go.dev/vuln/GO-2022-0493 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jun 2022)