MEDIUM5.3
GHSA-p782-xgp4-8hr8
golang.org/x/sys/unix has Incorrect privilege reporting in syscall
Quick fix
GHSA-p782-xgp4-8hr8 — golang.org/x/sys: upgrade to the fixed version with the command below.
go get golang.org/x/sys@v0.0.0-20220412211240-33da011f77adDetails
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
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/golang.org/x/sys
Introduced in:
0Fixed in: 0.0.0-20220412211240-33da011f77adFix
go get golang.org/x/sys@v0.0.0-20220412211240-33da011f77adReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-29526[ADVISORY]
- https://github.com/golang/go/issues/52313[WEB]
- https://github.com/golang/go[PACKAGE]
- https://go.dev/cl/399539[WEB]
- https://go.dev/cl/400074[WEB]
- https://go.dev/issue/52313[WEB]
- https://groups.google.com/g/golang-announce[WEB]
- https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR[WEB]
- https://pkg.go.dev/vuln/GO-2022-0493[WEB]
- https://security.gentoo.org/glsa/202208-02[WEB]
- https://security.netapp.com/advisory/ntap-20220729-0001[WEB]