Advisory

GO-2022-0493

Also known as: BIT-golang-2022-29526, CVE-2022-29526, GHSA-p782-xgp4-8hr8

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.

Severity

Not rated by the source.

Dates

Published
2022-07-15 23:30 UTC
Modified
2026-02-04 03:42 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.17.10, introduced 1.18.0-0, fixed 1.18.2 (semver)

Fixed versions

1.17.10, 1.18.2

Fix

The export has no generic command for this ecosystem.

golang.org/x/sys

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20220412211240-33da011f77ad (semver)

Fixed versions

0.0.0-20220412211240-33da011f77ad

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences