SCA: security update for secure_headers (GHSA-w978-rmpf-qmwg)

medium Tenable Cloud Security Plugin ID 422163

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions
before 3.9.0, 5.2.0, and 6.3.0. If user-supplied input was passed into
append/override_content_security_policy_directives, a newline could be injected leading to limited header
injection. Upon seeing a newline in the header, rails will silently create a new Content-Security-Policy
header with the remaining value of the original string. It will continue to create new headers for each
newline. This has been fixed in 6.3.0, 5.2.0, and 3.9.0. (CVE-2020-5216)

See Also

https://github.com/advisories/GHSA-w978-rmpf-qmwg

Plugin Details

Severity: Medium

ID: 422163

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2020-5216

CVSS v3

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 5.2

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/23/2020

Vulnerability Publication Date: 1/23/2020

Reference Information

CVE: CVE-2020-5216

cwe: CWE-113