#VU61293 Off-by-one


Published: 2022-03-14

Vulnerability identifier: #VU61293

Vulnerability risk: High

CVSSv3.1:

CVE-ID: CVE-2021-3999

CWE-ID: CWE-193

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Glibc
Universal components / Libraries / Libraries used by multiple products

Vendor: GNU

Description

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to an off-by-one error glibc getcwd() function. A remote attacker can pass specially crafted input to the application that is using the affected library version, trigger an off-by-one error and execute arbitrary code on the target system.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

Glibc: 2.0 - 2.34.9000


CPE

External links
http://sourceware.org/bugzilla/show_bug.cgi?id=28769


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability