Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selectors exhaust the Python call stack
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in soupsieve 3.0.2.
Soup Sieve is a CSS selector library for Beautiful Soup. From 0.4 until 3.0, deeply nested CSS pseudo-class selectors can cause recursive parsing to exceed Python’s recursion limit and raise RecursionError . Applications accepting untrusted selectors may experience failure of the affected request or task if the exception is not handled. The demonstrated behavior is recoverable and does not establish an interpreter crash or persistent service-wide denial of service. This vulnerability is fixed in version 3.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| facelessuser | >=0.4 <3.0 | ||
| pypi: soupsieve | >=0.4 <3.0.2, >=0.4 <=2.10 | 3.0.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in soupsieve (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket