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.4

Type: local

Agent: unix

Published: 12/20/2019

Updated: 6/22/2020

Supported Sensors: Agentless 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.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

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

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

Exploit Ease: No known 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