Vulnerability in zlib
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as ALPINE-CVE-2022-37434 has been found in zlib.
Successful exploitation can lead to full system takeover.
What to do: upgrade zlib to 1.2.11-r4 or later.
If unsure, ask your IT team or search "zlib ALPINE-CVE-2022-37434" on the vendor's site.
ALPINE-CVE-2022-37434 (zlib)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 1.2.11-r4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in zlib.
Check the vendor advisory for the affected versions of zlib.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 1.2.11-r4.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'zlib' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'zlib' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
zlibを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade zlib to 1.2.11-r4ステージング環境で 1.2.11-r4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.11zlib |
< 1.2.11-r4→ 1.2.11-r4 |
1.2.11-r4 |
| Alpine:v3.12zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.13zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.14zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.15zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.16zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.17zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.18zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.19zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.20zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.21zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.22zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.23zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.24zlib |
< 1.2.12-r2→ 1.2.12-r2 |
1.2.12-r2 |
| Alpine:v3.23zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.24zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.17zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.18zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.19zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.20zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.21zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
| Alpine:v3.22zlib-ng |
< 2.0.6-r0→ 2.0.6-r0 |
2.0.6-r0 |
Original description The description as published by the source.
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).
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org