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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| golang.org/x/sys (Go) | before 0.0.0-20220412211240-33da011f77ad | GitHub Advisory Database, Go Vulnerability Database |
| stdlib (Go) | before 1.17.10, from 1.18.0-0 before 1.18.2 | Go Vulnerability Database |
| golang go | before 1.17.10, from 1.18.0 before 1.18.2 | NVD |
| fedoraproject fedora | 35, 36 | NVD |
| netapp beegfs_csi_driver | Not specified | NVD |
| golang (Bitnami) | before 1.17.10, from 1.18.0 before 1.18.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium 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
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-29526 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p782-xgp4-8hr8 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0493 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2022-29526 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2022-29526 changed 2026-09-08 | Apache-2.0 |