Improper Input Validation Affecting idn2 package, versions <0:2.3.0-1.amzn2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.23% (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-IDN2-1677527
  • published27 Sept 2021
  • disclosed22 Oct 2019

Introduced: 22 Oct 2019

CVE-2019-12290  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 idn2 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 idn2 package and not the idn2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

GNU libidn2 before 2.2.0 fails to perform the roundtrip checks specified in RFC3490 Section 4.2 when converting A-labels to U-labels. This makes it possible in some circumstances for one domain to impersonate another. By creating a malicious domain that matches a target domain except for the inclusion of certain punycoded Unicode characters (that would be discarded when converted first to a Unicode label and then back to an ASCII label), arbitrary domains can be impersonated.

References

CVSS Base Scores

version 3.1