CVE-2020-5216: Limited header injection when using dynamic overrides with user input in RubyGems secure_headers

CVE-2020-5216 · Severity: low · CVSS 3.1 · Published 2020-01-23

Limited header injection when using dynamic overrides with user input in RubyGems secure_headers

Technologies: secure_headers (RubyGems). Vendors: RubyGems.

Quick answers

Is CVE-2020-5216 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-5216 being exploited in the wild.
How severe is CVE-2020-5216?
Low severity, with a CVSS score of 3.1, published 23 January 2020.
Which products and versions are affected?
secure_headers (RubyGems) ECOSYSTEM:introduced=6.0.0,fixed=6.3.0.
Is there a fix for CVE-2020-5216?
Yes. secure_headers (RubyGems): upgrade to 6.3.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-5216?
Check whether you run secure_headers (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • secure_headers (RubyGems): upgrade to 6.3.0 or later
    bundle update secure_headers

Affected products

  • secure_headers (RubyGems) ECOSYSTEM:introduced=6.0.0,fixed=6.3.0

Identifiers

  • CVE-2020-5216
  • GHSA-w978-rmpf-qmwg

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.