Ubuntu 16.04 LTS / 18.04 LTS : ruby-haml vulnerability (USN-9338-1)

medium Nessus Plugin ID 391290

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 16.04 LTS / 18.04 LTS host has a package installed that is affected by a vulnerability as referenced in the USN-9338-1 advisory.

It was discovered that Haml did not properly escape the single quote character. If Haml were made to process specially crafted input, an attacker could possibly use this issue to inject arbitrary HTML attributes and perform cross-site scripting attacks.

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected ruby-haml package.

See Also

https://ubuntu.com/security/CVE-2017-1002201

https://ubuntu.com/security/notices/USN-9338-1

Plugin Details

Severity: Medium

ID: 391290

File Name: ubuntu_USN-9338-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2017-1002201

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:ruby-haml

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 10/15/2019

Reference Information

CVE: CVE-2017-1002201

USN: 9338-1