GLSA-202007-27 : Haml: Arbitrary code execution

medium Nessus Plugin ID 138950

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202007-27 (Haml: Arbitrary code execution)

It was discovered that Haml was not correctly filtering out special characters which may be used for attributes.
Impact :

A remote attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All Haml users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-ruby/haml-5.1.2'

See Also

https://security.gentoo.org/glsa/202007-27

Plugin Details

Severity: Medium

ID: 138950

File Name: gentoo_GLSA-202007-27.nasl

Version: 1.3

Type: local

Published: 7/27/2020

Updated: 2/28/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

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: p-cpe:/a:gentoo:linux:haml, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/27/2020

Vulnerability Publication Date: 10/15/2019

Reference Information

CVE: CVE-2017-1002201

GLSA: 202007-27