CVE-2022-29526 golang.org/x/sys/unix has Incorrect privilege reporting in syscall
The Go standard library's Faccessat function incorrectly reports file accessibility, potentially allowing privilege escalation or security bypasses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-29526?
CVE-2022-29526 is a medium-severity vulnerability in Fedoraproject Fedora, published on 22 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-269
Which versions are affected by CVE-2022-29526?
5 open source packages ship an affected version, including golang.org/x/sys, golang and stdlib. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
golang.org/x/sys Go | All versions | 0.0.0-20220412211240-33da011f77ad |
golang.org/x/sys Go | All versions | 0.0.0-20220412211240-33da011f77ad |
golang.org/x/sys Go | All versions | 0.0.0-20220412211240-33da011f77ad |
golang Bitnami | All versions | 1.17.10, 1.18.2 |
stdlib Go | All versions | 1.17.10, 1.18.2 |
Linux distribution packages (10)
go1.17 SUSE:Linux Enterprise Module for Development Tools 15 SP3 | All versions | 1.17.10-150000.1.34.1 |
go1.18 SUSE:Linux Enterprise Module for Development Tools 15 SP3 | All versions | 1.18.2-150000.1.17.1 |
go1.17 SUSE:Linux Enterprise Module for Development Tools 15 SP4 | All versions | 1.17.10-150000.1.34.1 |
go1.18 SUSE:Linux Enterprise Module for Development Tools 15 SP4 | All versions | 1.18.2-150000.1.17.1 |
go1.17 openSUSE:Leap 15.3 | All versions | 1.17.10-150000.1.34.1 |
go1.18 openSUSE:Leap 15.3 | All versions | 1.18.2-150000.1.17.1 |
go1.17 openSUSE:Leap 15.4 | All versions | 1.17.10-150000.1.34.1 |
go1.18 openSUSE:Leap 15.4 | All versions | 1.18.2-150000.1.17.1 |
go1.17 openSUSE:Tumbleweed | All versions | 1.17.10-1.1 |
go1.18 openSUSE:Tumbleweed | All versions | 1.18.2-1.1 |
Products include Fedoraproject Fedora, Golang Go, Netapp Beegfs Csi Driver.
How do I fix CVE-2022-29526?
Upgrade golang.org/x/sys to 0.0.0-20220412211240-33da011f77ad or later.
Is CVE-2022-29526 being exploited?
There is no known exploitation of CVE-2022-29526 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-31975, AZL-33622, AZL-33629, AZL-33644, AZL-35007, AZL-35014 and 30 more.