CVE-2024-34488:
Ryu Infinite Loop vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.71412%
CWE
Published
5/5/2024
Updated
7/3/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ryu | pip | <= 4.34 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the OFPMultipartReply parser's handling of message body length. The code shown in GitHub issue #191 demonstrates a while loop that parses message parts using b.length for offset calculation. When an attacker provides b.length=0, the offset increment becomes zero, making the loop condition (offset < msg_len) never false. This matches the CWE-835 infinite loop pattern described in the advisory. The code location is explicitly referenced in both the CVE description and GitHub issue, with a clear PoC demonstrating the exploit mechanism.