REDHAT-BUG-1801286: Medium severity Twitter secure_headers vulnerability

Published Feb 10, 2020
·
Updated

In Secure Headers (RubyGem secureheaders), 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/overridecontentsecuritypolicydirectives, 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.

Reference: https://github.com/twitter/secureheaders/security/advisories/GHSA-w978-rmpf-qmwg

Upstream commit: https://github.com/twitter/secureheaders/commit/301695706f6a70517c2a90c6ef9b32178440a2d0

Affected Software

3 affected components
Twitter secure_headers<3.9.0
Twitter secure_headers<5.2.0
Twitter secure_headers<6.3.0

Event History

Feb 10, 2020
Data Sourced
via Red Hat·03:00 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-1801286?

The severity of REDHAT-BUG-1801286 is considered high due to the potential for header injection.

2

How do I fix REDHAT-BUG-1801286?

To fix REDHAT-BUG-1801286, upgrade to secure_headers version 3.9.0, 5.2.0, or 6.3.0 or later.

3

What is the impact of REDHAT-BUG-1801286?

The impact of REDHAT-BUG-1801286 includes the possibility of unauthorized header modifications leading to security vulnerabilities.

4

Which versions are affected by REDHAT-BUG-1801286?

Versions of secure_headers prior to 3.9.0, 5.2.0, and 6.3.0 are affected by REDHAT-BUG-1801286.

5

Is REDHAT-BUG-1801286 a zero-day vulnerability?

REDHAT-BUG-1801286 is not classified as a zero-day vulnerability since the affected versions have available updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203