multidict is vulnerable to Memory Leak
53
Medium Risk
The multidict C extension items-view union and subtraction operators parse each operand pair into new strong references for the key identity and value, then release only the tuple wrapper. Evaluating operand | d.items() or d.items() - operand therefore leaks one identity object and one value object per element, and garbage collection cannot reclaim them. A remote client that enlarges that operand, for example by sending many HTTP header items compared against a fixed allow or deny set, can force unreclaimable heap growth until the process is killed. The fix clears the identity and value references at the end of each parse-loop iteration, matching the other set-algebra paths.
You are affected if you are using a version that falls within the vulnerable range and your application evaluates operand | view.items() or view.items() - operand on the C extension.
multidict is vulnerable to Memory Leak in versions 6.7.0 - 6.9.0.
Upgrade the multidict library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.