Vulnerability · Published Jan 14, 2022 · Assigned by mitre

CVE-2022-23218

Critical 9.8

In plain English

A critical-severity buffer overflow in the compat-libpthread-nonshared package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 5.3% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)5.3%top 7.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8compat-libpthread-nonshared2.28-164.el8_5.3ALSA-2022:0896
AlmaLinux:8glibc-benchtests2.28-164.el8_5.3ALSA-2022:0896
AlmaLinux:8glibc-nss-devel2.28-164.el8_5.3ALSA-2022:0896
AlmaLinux:8glibc-static2.28-164.el8_5.3ALSA-2022:0896
AlmaLinux:8glibc-utils2.28-164.el8_5.3ALSA-2022:0896
AlmaLinux:8nss_hesiod2.28-164.el8_5.3ALSA-2022:0896
Debian:12glibc2.33-3DEBIAN-CVE-2022-23218
Debian:13glibc2.33-3DEBIAN-CVE-2022-23218
Debian:14glibc2.33-3DEBIAN-CVE-2022-23218
Rocky Linux:8glibc0:2.28-164.el8_5.3RLSA-2022:0896

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References