Debian DLA-2719-1 : ruby-actionpack-page-caching - LTS security update

critical Nessus Plugin ID 152059

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-2719 advisory.

- There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view. (CVE-2020-8159)

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-actionpack-page-caching packages.

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

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960680

http://www.nessus.org/u?8ff3c19a

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

https://security-tracker.debian.org/tracker/CVE-2020-8159

http://www.nessus.org/u?2f5c3810

Plugin Details

Severity: Critical

ID: 152059

File Name: debian_DLA-2719.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/24/2021

Updated: 7/24/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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 Score Source: CVE-2020-8159

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:debian:debian_linux:ruby-actionpack-page-caching, cpe:/o:debian:debian_linux:9.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/23/2021

Vulnerability Publication Date: 5/12/2020

Reference Information

CVE: CVE-2020-8159