Integer Overflow or Wraparound Affecting uriparser package, versions <0:0.7.5-10.amzn2.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.23% (70th 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 IDSNYK-AMZN2-URIPARSER-7172525
  • published31 May 2024
  • disclosed3 May 2024

Introduced: 3 May 2024

CVE-2024-34402  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 uriparser to version 0:0.7.5-10.amzn2.0.3 or higher.
This issue was patched in ALAS2-2024-2546.

NVD Description

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

An issue was discovered in uriparser through 0.9.7. ComposeQueryEngine in UriQuery.c has an integer overflow via long keys or values, with a resultant buffer overflow.

CVSS Base Scores

version 3.1