CVE-2020-5249
Ruby vulnerability analysis and mitigation

Overview

In Puma (RubyGem) versions before 4.3.3 and 3.12.4, a vulnerability was discovered that allowed HTTP Response Splitting attacks through early-hints headers. The vulnerability was identified as CVE-2020-5249 and was disclosed on February 28, 2020. This security issue affected applications using Puma that allowed untrusted input in early-hints headers (GitHub Advisory).

Technical details

The vulnerability occurs when an application using Puma allows untrusted input in an early-hints header. An attacker can exploit this by using a carriage return character to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is specifically related to HTTP Response Splitting attacks, which while not an attack in themselves, serve as a vector for other attacks such as cross-site scripting (XSS) (GitHub Advisory, OWASP).

Impact

The vulnerability could allow attackers to perform various malicious activities through HTTP Response Splitting, including cross-site scripting (XSS), cross-user defacement, cache poisoning, and page hijacking. The ability to inject malicious content through header manipulation poses significant security risks to affected applications (OWASP, GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Puma versions 4.3.3 and 3.12.4. Users are advised to upgrade to these or later versions to address the security issue. As a workaround, applications can implement input validation to prevent untrusted input in early-hints headers (GitHub Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
GHSA-96qw-h329-v5rgHIGH7.5
  • JavaScriptJavaScript
  • shakapacker
NoYesJan 08, 2026
CVE-2026-22588MEDIUM6.5
  • RubyRuby
  • spree_api
NoYesJan 08, 2026
GHSA-g9jg-w8vm-g96vMEDIUM4.6
  • JavaScriptJavaScript
  • action_text-trix
NoYesDec 31, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management