Command Injection Affecting secure_headers package, versions >=6.0.0, <6.2.0 >=5.0.0, <5.1.0 <3.8.0
Snyk CVSS
Attack Complexity
High
Scope
Changed
Threat Intelligence
EPSS
0.15% (51st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-SECUREHEADERS-543239
- published 24 Jan 2020
- disclosed 21 Jan 2020
- credit Greg Ose, mvgijssel
Introduced: 21 Jan 2020
CVE-2020-5217 Open this link in a new tabHow to fix?
Upgrade secure_headers
to version 6.2.0, 5.1.0, 3.8.0 or higher.
Overview
secure_headers is a library that manages application of security headers with many safe defaults.
Affected versions of this package are vulnerable to Command Injection. If user-supplied input was passed into append/override_content_security_policy_directives
, a semicolon could be injected and used to override a script directive, leading to command injection.