Security mailing lists by PureSourceCode

CVE-2021-3999

HIGH 7.8CVSS 3.1

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.

Published
24 Aug 2022
Last modified
14 Oct 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-193
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu glibc
cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
< 2.31 2.31
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
NVD netapp e-series_performance_analyzer
cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*
(no version)
NVD netapp nfs_plug-in
cpe:2.3:a:netapp:nfs_plug-in:*:*:*:*:*:vmware_vaai:*:*
all versions
NVD netapp ontap_select_deploy_administration_utility
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
(no version)
NVD netapp h300s_firmware
cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h500s_firmware
cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h700s_firmware
cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h410s_firmware
cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h410c_firmware
cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
(no version)

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.