VYPR
High severityNVD Advisory· Published Jan 26, 2022· Updated Apr 21, 2025

Nullptr Dereference in Protobuf

CVE-2021-22570

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 packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
Google.ProtobufNuGet
< 3.15.03.15.0
google/protobufPackagist
< 3.15.03.15.0
com.google.protobuf:protobuf-javaMaven
< 3.15.03.15.0
github.com/protocolbuffers/protobufGo
< 0.0.0-20210218195015-ae50d9b990250.0.0-20210218195015-ae50d9b99025
protobufPyPI
< 3.15.03.15.0
github.com/protocolbuffers/protobufGo
>= 0.0.0, < 3.15.03.15.0

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

22

News mentions

0

No linked articles in our index yet.