soupsieve is vulnerable to Resource Exhaustion
75
CVE Score
High
Resource Exhaustion
Affected versions of this package are vulnerable to memory exhaustion via large comma-separated selector lists. The CSS selector parser creates one CSSSelector object per comma-delimited segment without enforcing a limit on the number of segments, so a relatively small crafted selector string passed to soupsieve.compile() or Beautiful Soup's .select() / .select_one() allocates hundreds of megabytes of heap memory (about a 488x amplification from input size). An attacker who can supply or influence the selector input can trigger memory exhaustion and denial of service. The fix caps the total number of selectors processed per pattern.
Upgrade the soupsieve library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 2.8.3
Fixed in 2.8.4soupsieve is vulnerable to Resource Exhaustion in versions 0.0.1 - 2.8.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.