CVE-2022-29526
JSON

5.3medium

golang.org/x/sys/unix has Incorrect privilege reporting in syscall

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
2.26% (higher than 84% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-p782-xgp4-8hr8BIT-GOLANG-2022-29526GO-2022-0493

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
golang.org/x/sys (Go)before 0.0.0-20220412211240-33da011f77adGitHub Advisory Database, Go Vulnerability Database
stdlib (Go)before 1.17.10, from 1.18.0-0 before 1.18.2Go Vulnerability Database
golang gobefore 1.17.10, from 1.18.0 before 1.18.2NVD
fedoraproject fedora35, 36NVD
netapp beegfs_csi_driverNot specifiedNVD
golang (Bitnami)before 1.17.10, from 1.18.0 before 1.18.2Bitnami Vulnerability Database

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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

Go Vulnerability Database

When called with a non-zero flags parameter, the Faccessat function can incorrectly report that a file is accessible.

NVD (es)

Go versiones anteriores a 1.17.10 y 1.18.x anteriores a 1.18.2, presenta una Asignación Incorrecta de Privilegios. Cuando es llamada con un parámetro flags distinto de cero, la función Faccessat podría informar incorrectamente de que un archivo es accesible

References

https://groups.google.com/g/golang-announceadvisory, issue-tracking, mailing-list, third-party-advisory, web
https://github.com/golang/go/issues/52313advisory, exploit, issue-tracking, patch, third-party-advisory, web
https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdUadvisory, mailing-list, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/vendor-advisory, web
https://security.netapp.com/advisory/ntap-20220729-0001/advisory, third-party-advisory
https://security.gentoo.org/glsa/202208-02advisory, third-party-advisory, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2022-29526advisory, web
https://github.com/golang/gopackage
https://go.dev/cl/399539fix, web

Related

Sources

SourceRecordLicence
CVE ListCVE-2022-29526 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-p782-xgp4-8hr8 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0493 changed 2026-02-04CC-BY-4.0
NVDCVE-2022-29526 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2022-29526 changed 2026-09-08Apache-2.0