CVE-2024-22086

handle_request in http.c in cherry through 4b877df has an sscanf stack-based buffer overflow via a long URI, leading to remote code execution

Critical · published January 5, 2024

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

🔥 A long URI is all it takes to trigger a stack-based buffer overflow in Cherry, leading straight to remote code execution! Think of it like an overflowing suitcase at an airport check-in. If you try to pack too much into the bag without restraint, it could burst open, spilling everything out! An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially taking complete control of the system. This could lead to unauthorized access to sensitive data, manipulation of server operations, and a full disruption of services. The results could be absolutely devastating!

Put simply

Think of it like an overflowing suitcase at an airport check-in. If you try to pack too much into the bag without restraint, it could burst open, spilling everything out! The vulnerability in Cherry's handle_request function allows a buffer overflow due to improperly handled long URIs, enabling attackers to execute malicious code remotely.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially taking complete control of the system. This could lead to unauthorized access to sensitive data, manipulation of server operations, and a full disruption of services. The results could be absolutely devastating! To mitigate this risk, upgrade Cherry to the latest version immediately. Additionally, review and harden the input handling to ensure URIs are properly validated and sanitized. Don't forget to test your application thoroughly after applying updates! You've got this! By following these steps, you'll help secure your systems and protect your data! 🛡️

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.01098 · 65.4th percentile
Published
2024-01-05T00:00Z
EPSS history
Timeline
  • 05 JAN 00:00Z
    handle_request in http.c in cherry through 4b877df has an sscanf stack-based buffer overflow via a long URI, leading to remote code execution
    cvelistv5