What’s Vulnerable › Vulnerabilities

CVE-2021-22570: Nullptr Dereference in Protobuf

Description

Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.

Affected products

How to fix

Upgrade to a fixed version: Python Protobuf 3.15.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-22570 or the next vulnerability affects your stack