GHSA-p782-xgp4-8hr8

Suggest an improvement
Source
https://github.com/advisories/GHSA-p782-xgp4-8hr8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-p782-xgp4-8hr8/GHSA-p782-xgp4-8hr8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p782-xgp4-8hr8
Aliases
Related
Published
2022-06-24T00:00:30Z
Modified
2024-09-11T06:13:22.288551Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
golang.org/x/sys/unix has Incorrect privilege reporting in syscall
Details

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

References

Affected packages

Go / golang.org/x/sys

Package

Name
golang.org/x/sys
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/sys

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20220412211240-33da011f77ad