Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/sys
  4. ›
  5. CVE-2022-29526

CVE-2022-29526: Improper Privilege Management

June 24, 2022 (updated February 25, 2023)

Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.

References

  • github.com/advisories/GHSA-p782-xgp4-8hr8
  • github.com/golang/go/issues/52313
  • go.dev/cl/399539
  • go.dev/cl/400074
  • go.dev/issue/52313
  • groups.google.com/g/golang-announce
  • groups.google.com/g/golang-announce/c/Y5qrqw_lWdU
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/
  • nvd.nist.gov/vuln/detail/CVE-2022-29526
  • pkg.go.dev/vuln/GO-2022-0493
  • security.gentoo.org/glsa/202208-02
  • security.netapp.com/advisory/ntap-20220729-0001/

Code Behaviors & Features

Detect and mitigate CVE-2022-29526 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20220412211240-33da011f77ad

Fixed versions

  • 0.0.0-20220412211240-33da011f77ad

Solution

Upgrade to version 0.0.0-20220412211240-33da011f77ad or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

go/golang.org/x/sys/CVE-2022-29526.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.