Vulnerability · Published Aug 5, 2022 · Assigned by mitre

CVE-2022-37434

Critical 9.8

In plain English

A critical-severity buffer overflow in the rsync package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 19.2% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)19.2%top 2.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8rsync3.1.3-19.el8ALSA-2022:7793
AlmaLinux:9rsync3.2.3-18.el9ALSA-2022:8291
AlmaLinux:8rsync-daemon3.1.3-19.el8ALSA-2022:7793
AlmaLinux:9rsync-daemon3.2.3-18.el9ALSA-2022:8291
AlmaLinux:8zlib1.2.11-19.el8_6ALSA-2022:7106
AlmaLinux:9zlib1.2.11-32.el9_0ALSA-2022:7314
AlmaLinux:8zlib-devel1.2.11-19.el8_6ALSA-2022:7106
AlmaLinux:9zlib-devel1.2.11-32.el9_0ALSA-2022:7314
AlmaLinux:8zlib-static1.2.11-19.el8_6ALSA-2022:7106
AlmaLinux:9zlib-static1.2.11-32.el9_0ALSA-2022:7314
Alpine:v3.20zlib1.2.12-r2ALPINE-CVE-2022-37434
Alpine:v3.21zlib1.2.12-r2ALPINE-CVE-2022-37434
Alpine:v3.22zlib1.2.12-r2ALPINE-CVE-2022-37434
Alpine:v3.23zlib1.2.12-r2ALPINE-CVE-2022-37434
Alpine:v3.24zlib1.2.12-r2ALPINE-CVE-2022-37434
Alpine:v3.20zlib-ng2.0.6-r0ALPINE-CVE-2022-37434
Alpine:v3.21zlib-ng2.0.6-r0ALPINE-CVE-2022-37434
Alpine:v3.22zlib-ng2.0.6-r0ALPINE-CVE-2022-37434
Alpine:v3.23zlib-ng2.0.6-r0ALPINE-CVE-2022-37434
Alpine:v3.24zlib-ng2.0.6-r0ALPINE-CVE-2022-37434
Debian:12libz-mingw-w641.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian:13libz-mingw-w641.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian:14libz-mingw-w641.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian:12zlib1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Debian:13zlib1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Debian:14zlib1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Rocky Linux:8rsync0:3.1.3-19.el8RLSA-2022:7793
Rocky Linux:9rsync0:3.2.3-18.el9RLSA-2022:8291
Rocky Linux:8zlib0:1.2.11-19.el8_6RLSA-2022:7106
Rocky Linux:9zlib0:1.2.11-32.el9_0RLSA-2022:7314
Ubuntu:22.04:LTSklibc2.0.10-4ubuntu0.1UBUNTU-CVE-2022-37434
Ubuntu:22.04:LTSklibc2.0.10-4ubuntu0.1USN-6736-1
Ubuntu:24.04:LTSklibc2.0.13-4ubuntu0.1UBUNTU-CVE-2022-37434
Ubuntu:24.04:LTSklibc2.0.13-4ubuntu0.1USN-6736-2
Ubuntu:22.04:LTSzlib1:1.2.11.dfsg-2ubuntu9.2UBUNTU-CVE-2022-37434
Ubuntu:22.04:LTSzlib1:1.2.11.dfsg-2ubuntu9.2USN-5570-2

Affected products (as reported)

VendorProductVersions
n/a n/a see references

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

References