CVE-2022-29526: Medium severity Golang Go vulnerability
A flaw was found in the syscall.Faccessat function when calling a process by checking the group. This flaw allows an attacker to check the process group permissions rather than a member of the file's group, affecting system availability.
Other sources
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.
— Microsoft
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.
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.
Specific Go Packages Affected golang.org/x/sys/unix
— GitHub
Golang Go could allow a remote attacker to obtain sensitive information, caused by a flaw in the Faccessat function when called with a non-zero flags parameter. By sending a specially-crafted request, an attacker could exploit this vulnerability to obtain accessible file information, and use this information to launch further attacks against the affected system.
— IBM
We have just released Go versions 1.18.2 and 1.17.10, minor point releases. These minor releases include one security fix following the security policy:
When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.
References: https://go.dev/issue/52313 https://groups.google.com/g/golang-announce/c/Y5qrqwlWdU
Commits: Master : https://github.com/golang/go/commit/f66925e854e71e0c54b581885380a490d7afa30c Branch.go1.17 : https://github.com/golang/go/commit/04781d14d2d33acbaf70f77e3a58ae0f3c90757c Branch.go1.18 : https://github.com/golang/go/commit/c0599c5b781de023974519194df6b0c4ebb0adff
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2022-29526?
The severity of CVE-2022-29526 is medium with a CVSS score of 6.2.
How does CVE-2022-29526 impact Golang Go?
CVE-2022-29526 allows a remote attacker to obtain sensitive information in Golang Go.
What is the affected software for CVE-2022-29526?
The affected software for CVE-2022-29526 includes Golang Go versions before 1.17.10 and 1.18.x before 1.18.2, as well as specific Red Hat packages and other related software.
How can I fix CVE-2022-29526?
To fix CVE-2022-29526, update Golang Go to version 1.17.10 or 1.18.2 and apply the necessary patches from the vendor for other affected software.
Where can I find more information about CVE-2022-29526?
More information about CVE-2022-29526 can be found on the NIST NVD website, the Golang Go GitHub repository, and the Golang-announce Google group.