CVE-2022-22721CWE-190

core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody

published March 14, 2022

CVSS
—
EPSS
42%
Percentile
98.7
In the wild
Unconfirmed
What it is

⚠️ An integer overflow lurking in Apache HTTP Server could turn oversized requests into a hazardous mess! This happens when LimitXMLRequestBody is set too high on 32-bit systems, allowing trouble to seep in. 🔥 Think of it like a postal service that accepts packages way too big for its delivery trucks. If they try to fit a giant box into a standard-sized vehicle, it can cause chaos and even damage the truck. Here, an oversized request body can lead to out-of-bounds writes, potentially breaking things down! An attacker could exploit this situation, leading to unexpected behavior or crashes in the server as it tries to handle those oversized requests. While it's not currently known to be exploited, the risk of someone causing mayhem with the wrong package is still there!

Put simply

Think of it like a postal service that accepts packages way too big for its delivery trucks. If they try to fit a giant box into a standard-sized vehicle, it can cause chaos and even damage the truck. Here, an oversized request body can lead to out-of-bounds writes, potentially breaking things down! This vulnerability results from an integer overflow when the LimitXMLRequestBody is configured to allow request bodies larger than 350MB on 32-bit systems, causing the server to write outside the bounds of allocated memory.

What to do

An attacker could exploit this situation, leading to unexpected behavior or crashes in the server as it tries to handle those oversized requests. While it's not currently known to be exploited, the risk of someone causing mayhem with the wrong package is still there! To protect your systems, ensure you limit the request body size to a safe value below 350MB or adjust settings for 64-bit systems where possible. Review your Apache HTTP Server version, and upgrade to 2.4.53 or later for the fix! You've got this! By taking these steps, you're making sure your server stays safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.41713 · 98.7th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2022-03-14T10:15Z
EPSS history
Timeline
  • 14 MAR 10:15Z
    core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody
    cvelistv5