Amazon Linux AMI : libidn2 (ALAS-2019-1327)

critical Nessus Plugin ID 132322

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

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. (CVE-2019-18224)

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.(CVE-2019-12290)

Solution

Run 'yum update libidn2' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2019-1327.html

Plugin Details

Severity: Critical

ID: 132322

File Name: ala_ALAS-2019-1327.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/20/2019

Updated: 4/2/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-18224

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libidn2, p-cpe:/a:amazon:linux:idn2, p-cpe:/a:amazon:linux:libidn2-devel, p-cpe:/a:amazon:linux:libidn2-debuginfo, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/19/2019

Vulnerability Publication Date: 10/21/2019

Reference Information

CVE: CVE-2019-12290, CVE-2019-18224

ALAS: 2019-1327