GO-2022-0493

Source
https://pkg.go.dev/vuln/GO-2022-0493
Import Source
https://vuln.go.dev/ID/GO-2022-0493.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0493
Aliases
Published
2022-07-15T23:30:12Z
Modified
2024-05-20T16:03:47Z
Summary
Incorrect privilege reporting in syscall and golang.org/x/sys/unix
Details

When called with a non-zero flags parameter, the Faccessat function can incorrectly report that a file is accessible.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0493"
}
References
Credits
    • Joël Gähwiler (@256dpi)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17.10
Introduced
1.18.0-0
Fixed
1.18.2

Ecosystem specific

{
    "imports": [
        {
            "path": "syscall",
            "symbols": [
                "Faccessat"
            ]
        }
    ]
}

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

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/sys/unix",
            "symbols": [
                "Faccessat"
            ]
        }
    ]
}