CVE-2023-6992 Memory corruption issues is Cloudflare zlib implementation

Medium 4.0 Published Updated

A local attacker can cause denial of service in Cloudflare's zlib library via a crafted file triggering a heap-based buffer overflow during compression.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-6992?

CVE-2023-6992 is a medium-severity memory corruption vulnerability in Cloudflare zlib, published on 4 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Cloudflare version of zlib library was found to be vulnerable to memory corruption issues affecting the deflation algorithm implementation (deflate.c). The issues resulted from improper input validation and heap-based buffer overflow. A local attacker could exploit the problem during compression using a crafted malicious file potentially leading to denial of service of the software. Patches: The issue has been patched in commit 8352d10 https://github.com/cloudflare/zlib/commit/8352d108c05db1bdc5ac3bdf834dad641694c13c . The upstream repository is not affected.

Weakness: CWE-787, CWE-20, CWE-126, CWE-122

Which versions are affected by CVE-2023-6992?

It affects 1 product.

Products include Cloudflare Zlib.

How do I fix CVE-2023-6992?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-6992 being exploited?

There is no known exploitation of CVE-2023-6992 in the wild and no public exploit code.

Sources

Also known as AZL-43663, AZL-43807, AZL-43870, AZL-43957, AZL-43969, AZL-44517 and 6 more.

Is CVE-2023-6992 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free