CVE-2022-28331CWE-190

Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function

Critical · published January 31, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
75.3
In the wild
Unconfirmed
What it is

🔥 A sneaky integer overflow in Apache Portable Runtime could let attackers write beyond the stack, opening the door to serious chaos! Think of this as a chef accidentally spilling a pot of boiling soup all over the kitchen because they miscalculated the size of the pot — the overflowing soup could wreak havoc and even cause burns! The consequences here are absolutely devastating. An attacker could exploit this vulnerability to overwrite important data on the stack, potentially leading to arbitrary code execution or a system crash. Imagine a computer taking a long nap or, worse, handing over the keys to the kingdom!

Put simply

Think of this as a chef accidentally spilling a pot of boiling soup all over the kitchen because they miscalculated the size of the pot — the overflowing soup could wreak havoc and even cause burns! This vulnerability stems from an integer overflow in the function apr_socket_sendv() within Apache Portable Runtime, which can result in writing beyond a buffer's allocated size, leading to unsafe memory operations.

What to do

The consequences here are absolutely devastating. An attacker could exploit this vulnerability to overwrite important data on the stack, potentially leading to arbitrary code execution or a system crash. Imagine a computer taking a long nap or, worse, handing over the keys to the kingdom! To protect yourself, upgrade to Apache Portable Runtime 1.7.1 or later immediately. Additionally, review your code for any instances where buffer sizes are calculated and ensure proper checks are in place to prevent this type of overflow. Don't wait – act now! You've got this! Take action today and secure your systems for a safer tomorrow! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01575 · 75.3th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2023-01-31T15:55Z
EPSS history
Timeline
  • 31 JAN 15:55Z
    Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function
    cvelistv5