Advisory

GHSA-p782-xgp4-8hr8

Also known as: BIT-golang-2022-29526, CVE-2022-29526, GO-2022-0493

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-24 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences