Rack
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection. This vulnerability is fixed in 2.2.12, 3.0.13, and 3.1.11.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-93
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
rack rack
- < 2.2.12
- >= 3.0, < 3.0.13
- >= 3.1, < 3.1.11
Fixed in 2.2.12, 3.0.13, 3.1.11
Mitigation
Upgrade rack to 2.2.12 or 3.0.13 or 3.1.11 or later.
References
- Vendor advisory github.com/rack/rack/security/advisories/GHSA-…
- Patch github.com/rack/rack/commit/803aa221e830271971…
- Patch github.com/rack/rack/commit/aeac570bb8080ca7b5…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.