Out-of-bounds Write Affecting libidn2 package, versions <0:2.3.0-1.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.71% (89th 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-LIBIDN2-1677478
  • published27 Sept 2021
  • disclosed21 Oct 2019

Introduced: 21 Oct 2019

CVE-2019-18224  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libidn2 to version 0:2.3.0-1.amzn2 or higher.
This issue was patched in ALAS2-2019-1373.

NVD Description

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

idn2_to_ascii_4i in lib/lookup.c in GNU libidn2 before 2.1.1 has a heap-based buffer overflow via a long domain string.

CVSS Base Scores

version 3.1