NULL Pointer Dereference Affecting protobuf-lite-devel package, versions <0:2.5.0-8.amzn2.0.3


Severity

Recommended
medium

Based on Amazon 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-AMZN2-PROTOBUFLITEDEVEL-3327757
  • published22 Feb 2023
  • 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 Amazon-Linux:2 protobuf-lite-devel to version 0:2.5.0-8.amzn2.0.3 or higher.
This issue was patched in ALAS2-2023-1948.

NVD Description

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