CVE-2022-29526Golang Go
Medium 5.3 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jun 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-269
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/sys |
< 0.0.0-20220412211240-33da011f77ad |
0.0.0-20220412211240-33da011f77ad |
go get golang.org/x/sys@v0.0.0-20220412211240-33da011f77ad |
| Go | golang.org/x/sys |
< 0.0.0-20220412211240-33da011f77ad |
0.0.0-20220412211240-33da011f77ad |
go get golang.org/x/sys@v0.0.0-20220412211240-33da011f77ad |
| Go | stdlib |
< 1.17.10 |
1.17.10 |
go get stdlib@v1.17.10 |
| Go | stdlib |
≥ 1.18.0-0 < 1.18.2 |
1.18.2 |
go get stdlib@v1.18.2 |
Per OSV / GitHub Advisories (GHSA-p782-xgp4-8hr8, GO-2022-0493). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.17.10 |
| golang | go | ≥ 1.18.0 < 1.18.2 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| netapp | beegfs_csi_driver | all |
Official advisories
- Red Hat Security Advisory: go-toolset and golang security and bug fix update · Red Hat · RHSA-2022:5799 · Sep 30, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- groups.google.com Issue Tracking Mailing List Third Party Advisory
- groups.google.com Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory