Alpine: ruby-rails: security update to 3.2.11-r0 (deprecated)

medium Tenable Cloud Security Plugin ID 401312

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- The sanitize_css method in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack
component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not
properly handle \n (newline) characters, which makes it easier for remote attackers to conduct cross-site
scripting (XSS) attacks via crafted Cascading Style Sheets (CSS) token sequences. (CVE-2013-1855)

- The sanitize helper in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack
component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not
properly handle encoded : (colon) characters in URLs, which makes it easier for remote attackers to
conduct cross-site scripting (XSS) attacks via a crafted scheme name, as demonstrated by including a
: sequence. (CVE-2013-1857)

See Also

https://git.alpinelinux.org/aports/commit/?id=c90e5c2508cdf70547e20104dc26394a6e838cdd

https://git.alpinelinux.org/aports/commit/?id=fad8b74f852feb2d12f1f967c294e3a20560534a

Plugin Details

Severity: Medium

ID: 401312

Version: Revision 1.22

Type: Local

Published: 8/16/2023

Updated: 1/17/2024

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2013-1857

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/12/2013

Vulnerability Publication Date: 3/18/2013

Reference Information

CVE: CVE-2013-1855, CVE-2013-1857

BID: 58552, 58555