🛡️ CVE-2020-5247 — ruby
Description
HTTP Response Splitting in Puma
In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. CR, LF or/r, /n) to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.
Affected software
CVE-2020-5247 is recorded against 2 packages.
- ruby
- ruby-min
Timeline and source
Published on 6 March 2024 and last revised on 6 November 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
lists.debian.org (Web)
lists.fedoraproject.org (Web)
lists.fedoraproject.org (Web)
lists.fedoraproject.org (Web)
owasp.org (Web)
www.ruby-lang.org (Web)
nvd.nist.gov (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ruby | — | — |
| ruby-min | — | — |
References
Similar Threats
- Unknown ALPINE-CVE-2026-27820
- Unknown ALPINE-CVE-2025-61594
- Unknown ALPINE-CVE-2025-27219
- Unknown ALPINE-CVE-2024-27280
- Unknown ALPINE-CVE-2024-27281
More CVE 2020 advisories
Browse all of CVE 2020 in the advisory index.
Site Security Check
Is ruby part of your stack?
CVE-2020-5247 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.