Debian DLA-2864-1 : ruby-haml - LTS security update

medium Nessus Plugin ID 156384

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has a package installed that is affected by a vulnerability as referenced in the dla-2864 advisory.

- In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like < > ' must be escaped properly. In this case, the ' character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.
(CVE-2017-1002201)

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

Solution

Upgrade the ruby-haml packages.

For Debian 9 stretch, this problem has been fixed in version 4.0.7-1+deb9u1.

See Also

https://security-tracker.debian.org/tracker/source-package/ruby-haml

https://www.debian.org/lts/security/2021/dla-2864

https://security-tracker.debian.org/tracker/CVE-2017-1002201

https://packages.debian.org/source/stretch/ruby-haml

Plugin Details

Severity: Medium

ID: 156384

File Name: debian_DLA-2864.nasl

Version: 1.3

Type: local

Agent: unix

Published: 12/29/2021

Updated: 11/21/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:debian:debian_linux:ruby-haml, cpe:/o:debian:debian_linux:9.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/29/2021

Vulnerability Publication Date: 10/15/2019

Reference Information

CVE: CVE-2017-1002201