PT-2022-6711 · Go+7 · Go+7

256Dpi

+1

·

Published

2022-05-11

·

Updated

2026-05-18

·

CVE-2022-29526

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Go versions 1.17.0 through 1.17.9 Go versions 1.18.0 through 1.18.1
Description The issue is related to incorrect privilege assignment in the Faccessat function of the Go programming language. This can allow an attacker to bypass existing security restrictions. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible. The problem arises because the function checks a file's group permission bits if the process's user is a member of the process's group rather than a member of the file's group.
Recommendations For Go versions 1.17.0 through 1.17.9, update to version 1.17.10 or later to resolve the issue. For Go versions 1.18.0 through 1.18.1, update to version 1.18.2 or later to resolve the issue. As a temporary workaround, consider avoiding the use of non-zero flags parameters with the Faccessat function until a patch is applied.

Exploit

Fix

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-31975
AZL-33622
AZL-33629
AZL-33644
AZL-35007
AZL-35014
AZL-35039
AZL-35115
AZL-35283
AZL-37365
AZL-37490
AZL-38911
AZL-39668
AZL-43477
AZL-43729
AZL-43858
AZL-43900
AZL-43915
AZL-44238
AZL-44289
AZL-44313
AZL-45294
AZL-45402
AZL-47178
BDU:2023-03627
BIT-GOLANG-2022-29526
CESA-2022_5337
CLEANSTART-2026-BK59402
CLEANSTART-2026-BN11148
CLEANSTART-2026-CL65461
CLEANSTART-2026-FN44356
CLEANSTART-2026-GY69323
CLEANSTART-2026-HI89495
CLEANSTART-2026-HJ34439
CLEANSTART-2026-HL71566
CLEANSTART-2026-HV28992
CLEANSTART-2026-JD48541
CLEANSTART-2026-KA21986
CLEANSTART-2026-KZ30232
CLEANSTART-2026-LZ10721
CLEANSTART-2026-NV78596
CLEANSTART-2026-OH43332
CLEANSTART-2026-OS18490
CLEANSTART-2026-PK19530
CLEANSTART-2026-PZ62650
CLEANSTART-2026-SB85645
CLEANSTART-2026-SP51034
CLEANSTART-2026-TD34476
CLEANSTART-2026-TK38210
CLEANSTART-2026-XL45869
CLEANSTART-2026-YB44027
CLEANSTART-2026-ZM20570
CVE-2022-29526
GHSA-P782-XGP4-8HR8
GO-2022-0493
MGASA-2022-0210
OESA-2022-1857
OPENSUSE-SU-2022_1829-1
OPENSUSE-SU-2022_1862-1
OPENSUSE-SU-2024:12065-1
OPENSUSE-SU-2024:12066-1
RHSA-2022:5337
RHSA-2022:5729
RHSA-2022:5799
RHSA-2022:6277
RHSA-2022_5337
RHSA-2022_5799
RLSA-2022:5337
RLSA-2022:5799
SUSE-SU-2022:1829-1
SUSE-SU-2022:1862-1
SUSE-SU-2022_1829-1
SUSE-SU-2022_1862-1
SUSE-SU-2023:2312-1
USN-6038-1
USN-6038-2

Affected Products

Centos
Debian
Go
Linuxmint
Red Hat
Rocky Linux
Suse
Ubuntu