CVE-2021-3999

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductGnu Glibc
PublishedAug 24, 2022
First seenAug 24, 2022
Weakness typeCWE-193CWE-193

How to fix

Update
  • gnu glibc2.31 or later

Affected products

ProductAffected versionsFixed in
gnu glibcv < 2.312.31
debian debian_linux10.0, 11.0—
netapp e-series_performance_analyzerNo range specified—
netapp nfs_plug-inNo range specified—
netapp ontap_select_deploy_administration_utilityNo range specified—
netapp h300s_firmwareNo range specified—
netapp h500s_firmwareNo range specified—
netapp h700s_firmwareNo range specified—
netapp h410s_firmwareNo range specified—
netapp h410c_firmwareNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.