A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system.
References
Link | Resource |
---|---|
https://www.openwall.com/lists/oss-security/2022/01/24/4 | Exploit Mailing List Third Party Advisory |
https://access.redhat.com/security/cve/CVE-2021-3999 | Third Party Advisory |
https://sourceware.org/bugzilla/show_bug.cgi?id=28769 | Issue Tracking Third Party Advisory |
https://security-tracker.debian.org/tracker/CVE-2021-3999 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2024637 | Issue Tracking Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html | Mailing List Third Party Advisory |
https://security.netapp.com/advisory/ntap-20221104-0001/ | Third Party Advisory |
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Configuration 5 (hide)
AND |
|
Configuration 6 (hide)
AND |
|
Configuration 7 (hide)
AND |
|
Configuration 8 (hide)
AND |
|
Configuration 9 (hide)
AND |
|
Information
Published : 2022-08-24 09:15
Updated : 2023-02-12 15:43
NVD link : CVE-2021-3999
Mitre link : CVE-2021-3999
JSON object : View
CWE
CWE-193
Off-by-one Error
Products Affected
netapp
- e-series_performance_analyzer
- nfs_plug-in
- h410c_firmware
- h300s
- h500s
- h410s
- h500s_firmware
- h700s
- h410c
- ontap_select_deploy_administration_utility
- h410s_firmware
- h700s_firmware
- h300s_firmware
gnu
- glibc
debian
- debian_linux