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-05-20T21:27:32Z
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

Database specific
{
    "nvd_published_at": "2022-06-23T17:15:00Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-08T00:30:54Z"
}
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