NULL pointer dereference in Google Protobuf

CVE-2021-22570

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…

EPSS: 0.027 (84.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-22570?
CVE-2021-22570 is a medium-severity vulnerability in Google Protobuf, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2022-01-26.
How severe is CVE-2021-22570?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2021-22570 known to be exploited?
11 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.