CVE-2022-29526
golang.org/x/sys/unix has Incorrect privilege reporting in syscall
Reported by mitre · Published June 22, 2022
golang.org/x/sys/unix is fixed in 0.0.0-20220412211240-33da011f77ad (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| stdlib | Go Modules | 1.18.2, 1.17.10 |
| golang.org/x/sys/unix | Go Modules | 0.0.0-20220412211240-33da011f77ad |
| golang.org/x/sys | Go Modules | 0.0.0-20220412211240-33da011f77ad |
| grpcurl | Wolfi | 1.8.7-r7 |
| docker | Alpine | 20.10.16-r0 |
| kubeflow | Wolfi | 1.10.0-r2 |
| golang-docs | Amazon Linux | 1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2 |
| golang-github-gorilla-context-devel | Amazon Linux | 0-0.24.gitb06ed15.amzn2.0.4 |
| golang-github-godbus-dbus-devel | Amazon Linux | 0-0.1.gitcb98efb.amzn2.0.2 |
| go-srpm-macros | Amazon Linux | 3.0.15-23.amzn2.0.2 |
| golang | Bitnami | 1.18.2, 1.17.10 |
| terraform-provider-sendgrid | Chainguard | 1.0.1-r1 |
24 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| wolfi | grpcurl | 0 |
| alpine | docker | 0 |
| wolfi | kubeflow | 0 |
| amazon:2 | golang-docs | 0 |
| amazon:2 | golang-github-gorilla-context-devel | 0 |
| amazon:2 | golang-github-godbus-dbus-devel | 0 |
| amazon:2023 | golang-docs | 0 |
| golang.org | x/sys | 0 |
| chainguard | kubeflow-fips | * |
| amazon:2 | go-srpm-macros | 0 |
| chainguard | terraform-provider-sendgrid | 0 |
| amazon:2023 | compat-golang-github-cpuguy83-md2man-2-devel | 0 |
| amazon:2 | golang-googlecode-net-devel | 0 |
| chainguard | kind | 0 |
| amazon:2 | golang-bin | 0 |
| wolfi | dynamic-localpv-provisioner | 0 |
| amazon:2023 | golang-race | 0 |
| golang.org | x/sys/unix | 0 |
…and 38 more
Timeline
- May 24, 2022 CVE Published
- Jun 23, 2022 EPSS Score (30 in total, the first dated here)
- Feb 25, 2023 CVE Updated
- Mar 17, 2026 Security Advisory (34 in total, the first dated here)
- Jun 26, 2026 Distribution Patch (31 in total, the first dated here)
- Jun 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-29526
vulnetix vdb fixes CVE-2022-29526
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29526/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2022-fae3ecee19 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-ffe7dba2cb vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-ba365d3703 vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- GLSA-202208-02 vendor-advisoryx_refsource_GENTOO
- FEDORA-2022-30c5ed5625 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2022-29526 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/ url
- https://go.dev/cl/399539 url
- https://go.dev/cl/400074 url
- https://go.dev/issue/52313 url
- https://pkg.go.dev/vuln/GO-2022-0493 url
- https://github.com/advisories/GHSA-p782-xgp4-8hr8 advisory