synced 11 MIN AGO
01 Record

CVE-2020-5217

Directive injection when using dynamic overrides with user input in RubyGems secure_headers

MediumPUBLISHEDCNA: GitHub_M
CNA base score4.4 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

02 Description

Directive injection when using dynamic overrides with user input in RubyGems secure_headers

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.83% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 78.4% of scored records. A rank, not a probability.
NVD base score
5.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2020-01-23 02:15Z6 YR AGO
Last updated
2024-08-04 08:22Z2 YR AGO
Reserved
2020-01-02
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Medium (CVSS 4.4)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
  • CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')Variant
  • CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')Class
  • CWE-94Improper Control of Generation of Code ('Code Injection')Base
Data version
5.1
Document digest
452a6b8f36338307c8f2aff9d852357253ed89e60f5ab680faa8462114497d10

05 Affected products

VendorProductVersionsPlatforms
Twittersecure_headers< 3.8.0, >= 5.0.0, < 5.1.0, >= 6.0.0, < 6.2.0—

06 References

07 Fixed in

Debian 12

  • ruby-secure-headers
    Fixed in 6.3.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • ruby-secure-headers
    Fixed in 6.3.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • ruby-secure-headers
    Fixed in 6.3.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • ruby-secure-headers
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • ruby-secure-headers
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.