NULL Pointer Dereference Affecting mercurial-hgk package, versions <0:2.6.2-10.amzn2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.22% (60th 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-MERCURIALHGK-1675059
  • published27 Sept 2021
  • disclosed17 Feb 2019

Introduced: 17 Feb 2019

CVE-2019-8379  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 mercurial-hgk to version 0:2.6.2-10.amzn2 or higher.
This issue was patched in ALAS2-2019-1328.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mercurial-hgk package and not the mercurial-hgk package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An issue was discovered in AdvanceCOMP through 2.1. A NULL pointer dereference exists in the function be_uint32_read() located in endianrw.h. It can be triggered by sending a crafted file to a binary. It allows an attacker to cause a Denial of Service (Segmentation fault) or possibly have unspecified other impact when a victim opens a specially crafted file.

CVSS Scores

version 3.1