Integer Overflow or Wraparound Affecting gmp package, versions <1:6.0.0-15.amzn2.0.3


low

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.48% (76th percentile)
Expand this section
NVD
7.5 high
Expand this section
Red Hat
6.2 medium
Expand this section
SUSE
5.5 medium

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 ID SNYK-AMZN2-GMP-6098749
  • published 5 Dec 2023
  • disclosed 15 Nov 2021

How to fix?

Upgrade Amazon-Linux:2 gmp to version 1:6.0.0-15.amzn2.0.3 or higher.
This issue was patched in ALAS2-2023-2369.

NVD Description

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

GNU Multiple Precision Arithmetic Library (GMP) through 6.2.1 has an mpz/inp_raw.c integer overflow and resultant buffer overflow via crafted input, leading to a segmentation fault on 32-bit platforms.