NULL Pointer Dereference Affecting protobuf-compiler package, versions <0:3.5.0-15.el8


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-PROTOBUFCOMPILER-2392690
  • published3 Feb 2022
  • disclosed26 Jan 2022

Introduced: 26 Jan 2022

CVE-2021-22570  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Centos:8 protobuf-compiler to version 0:3.5.0-15.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream protobuf-compiler package and not the protobuf-compiler package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1