MEDIUM🇵🇱 Wersja polska

CVE-2020-5217

CVSS 4.4v3.1pub. 2020-01-23upd. 2024-11-21

In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before 3.8.0, 5.1.0, and 6.2.0. If user-supplied input was passed into append/override_content_security_policy_directives, a semicolon could be injected leading to directive injection. This could be used to e.g. override a script-src directive. Duplicate directives are ignored and the first one wins. The directives in secure_headers are sorted alphabetically so they pretty much all come before script-src. A previously undefined directive would receive a value even if SecureHeaders::OPT_OUT was supplied. The fixed versions will silently convert the semicolons to spaces and emit a deprecation warning when this happens. This will result in innocuous browser console messages if being exploited/accidentally used. In future releases, we will raise application errors resulting in 500s. Depending on what major version you are using, the fixed versions are 6.2.0, 5.1.0, 3.8.0.

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Twitter Secure Headers

    APP
    Twitter
    < 3.8.05.0.0 – 5.1.0 (bez)6.0.0 – 6.2.0 (bez)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2020-5216MEDIUM4.4ten sam produkt

In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before ...

CVE-2023-29218HIGH7.5ten sam vendor

The Twitter Recommendation Algorithm through ec83d01 allows attackers to cause a denial of service (reduction ...

CVE-2019-16263HIGH7.4ten sam vendor

The Twitter Kit framework through 3.4.2 for iOS does not properly validate the api.twitter.com SSL certificate...

CVE-2020-35774MEDIUM5.4ten sam vendor

server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in so...

CVE-2019-5431MEDIUM5.4ten sam vendor

This vulnerability was caused by an incomplete fix to CVE-2017-0911. Twitter Kit for iOS versions 3.0 to 3.4.0...