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
Downstream
CGA (76)
Related
Published
2022-07-15T23:30:12Z
Modified
2026-02-04T03:42:54Z
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

Name
stdlib
View open source insights on deps.dev
Purl
pkg:golang/stdlib

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown 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"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2022-0493.json"

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
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20220412211240-33da011f77ad

Ecosystem specific

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

Database specific

source
"https://vuln.go.dev/ID/GO-2022-0493.json"