NULL Pointer Dereference Affecting protobuf package, versions <0:3.14.0-13.el9


Severity

Recommended
medium

Based on Red Hat Enterprise Linux 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-RHEL9-PROTOBUF-7861854
  • published3 Sept 2024
  • 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 RHEL:9 protobuf to version 0:3.14.0-13.el9 or higher.
This issue was patched in RHSA-2022:7970.

NVD Description

Note: Versions mentioned in the description apply only to the upstream protobuf package and not the protobuf package as distributed by RHEL. See How to fix? for RHEL:9 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