Improper Input Validation Affecting libidn package, versions [,2.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (79th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBIDN-2368561
  • published26 Jan 2022
  • disclosed22 Oct 2019
  • creditUnknown

Introduced: 22 Oct 2019

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

How to fix?

Upgrade libidn to version 2.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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.

CVSS Scores

version 3.1