Vulnerability · Published Jan 14, 2022 · Assigned by mitre
CVE-2022-23219
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 4.7% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname 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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | compat-libpthread-nonshared | 2.28-164.el8_5.3 | ALSA-2022:0896 |
| AlmaLinux:8 | glibc-benchtests | 2.28-164.el8_5.3 | ALSA-2022:0896 |
| AlmaLinux:8 | glibc-nss-devel | 2.28-164.el8_5.3 | ALSA-2022:0896 |
| AlmaLinux:8 | glibc-static | 2.28-164.el8_5.3 | ALSA-2022:0896 |
| AlmaLinux:8 | glibc-utils | 2.28-164.el8_5.3 | ALSA-2022:0896 |
| AlmaLinux:8 | nss_hesiod | 2.28-164.el8_5.3 | ALSA-2022:0896 |
| Debian:12 | glibc | 2.33-3 | DEBIAN-CVE-2022-23219 |
| Debian:13 | glibc | 2.33-3 | DEBIAN-CVE-2022-23219 |
| Debian:14 | glibc | 2.33-3 | DEBIAN-CVE-2022-23219 |
| Rocky Linux:8 | glibc | 0:2.28-164.el8_5.3 | RLSA-2022:0896 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://sourceware.org/bugzilla/show_bug.cgi?id=22542
- GLSA-202208-24 vendor-advisory
- [debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
- https://cert-portal.siemens.com/productcert/html/ssa-099606.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html