CVE-2021-22570 MEDIUM

CVE-2021-22570: Nullptr Dereference in Protobuf

Vendor Google Llc
Product Protobuf
Weakness CWE-476
Published January 26, 2022
Last update April 21, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 26, 2022 CVE published
April 21, 2025 Record updated