stanza is vulnerable to Deserialization of Untrusted Data
59
CVE Score
Medium
Deserialization of Untrusted Data
The Document.from_serialized() method reconstructs annotated documents by calling pickle.loads() directly on the supplied serialized string. An application that deserializes a Stanza Document originating from an untrusted source triggers full pickle deserialization, executing arbitrary code embedded in a crafted payload. The vulnerable serialization path had used unrestricted pickle since the feature was introduced. The fix routes legacy pickle loading through a restricted unpickler that blocks unsafe globals and moves default document serialization to JSON.
Upgrade the stanza library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application deserializes Stanza Document objects that originate from untrusted sources.
1.1.1 - 1.13.0
Fixed in 1.14.0stanza is vulnerable to Deserialization of Untrusted Data in versions 1.1.1 - 1.13.0.
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.