Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted URI with embedded CR/LF
-
ExploitApp passes uri.request_uri unencoded into request line
-
ExecutionNewline terminates line and injects headers
-
ImpactOverride Host/Authorization or smuggle second request
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Requires a specific integration pattern, not just network access: the application must (1) construct an Addressable::URI from attacker-controlled input, (2) call #request_uri without first calling .normalize (which already percent-encodes these characters), and (3) write that value directly into an HTTP request line using an HTTP client that does NOT validate or encode the request target. Strong limiting factors confirmed by the vendor advisory: Net::HTTP raises ArgumentError on CR/LF, the http gem 5.x percent-encodes before use, and http 6.x no longer calls #request_uri - so a vulnerable deployment needs some other, non-validating client. Affected versions are Addressable >= 2.1.2 and <= 2.9.2; 2.10.0 and later are not affected. Available workarounds per the advisory: reject URIs whose request_uri matches /[\x00-\x20\x7F]/ before sending, or use a client that validates the request line such as Net::HTTP; upgrading to 2.10.0 is the complete fix. |
| Impact | This is a genuinely low-priority issue by every available signal, and they agree with each other. The CVSS 3.1 base score is 3.7 (Low) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - network-reachable and unauthenticated, but high attack complexity and only a limited integrity impact (no confidentiality or availability loss). The vuln.today decision label is 'monitor', the weakest urgency tier, which is consistent with the low score. KEV status is not listed, so there is no confirmed active exploitation. No EPSS score was provided in the input, so exploitation-probability cannot be quantified here and must be treated as unknown rather than assumed low or high. No PoC or exploit reference is present beyond the vendor's own GHSA advisory, which describes the mechanism conceptually but is not weaponized exploit code. The AC:H rating is corroborated by the advisory's own analysis of real-world reachability: common Ruby HTTP clients neutralize the flaw (Net::HTTP raises ArgumentError on CR/LF, the http gem 5.x percent-encodes beforehand, http 6.x no longer calls #request_uri), so exploitation requires an application that both builds a URI from untrusted input via Addressable and feeds uri.request_uri directly into a request line using some other, non-validating client without calling .normalize first. Net result: a real but narrow weakness, correctly rated low; not a high-CVSS-but-overblown case, but rather low-CVSS-and-genuinely-low-risk, gated by uncommon integration patterns. |
| Exploit ScenarioDerived | A Ruby application uses Addressable to parse an attacker-supplied URL containing encoded carriage-return/line-feed characters, then passes uri.request_uri straight into the request line of a custom or non-validating HTTP client without normalizing it. The injected CRLF terminates the request line early and appends attacker-controlled headers (potentially overriding Host or Authorization), and with keep-alive could begin a smuggled second request on the connection. No public exploit is identified at time of analysis; the vendor advisory supplies only a conceptual demonstration, and mainstream clients (Net::HTTP, the http gem) block the technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Addressable's URI#request_uri (versions 2.1.2 through 2.9.2) returns the path and query verbatim, so stored control characters and spaces are passed through unencoded into what is designed to be an HTTP request line. An application that builds an Addressable::URI from untrusted input, calls request_uri without normalize, and hands the result to an HTTP client that does not validate the request target could allow header injection or, with keep-alive, a split second request. Exploitation requires that specific integration pattern: the advisory confirms Net::HTTP raises ArgumentError on CR/LF, the http gem 5.x percent-encodes these characters itself and 6.x no longer calls request_uri, and no public exploit code was identified at time of analysis; the issue is fixed in 2.10.0.
RemediationAI
Upgrade the addressable gem to 2.10.0 or later (released as tag addressable-2.10.0), which is the complete fix and percent-encodes U+0000-U+001F, U+007F and space in #request_uri while leaving all other characters as written; note the behavior change that requests previously raising exceptions may now be sent with those characters percent-encoded, comparable to the http and faraday gems. If upgrading is not immediately possible, the vendor-documented workarounds are to reject any URI whose request_uri matches /[\x00-\x20\x7F]/ before sending it, or to build requests with a client that validates the request line such as Net::HTTP (which raises ArgumentError on CR or LF) - the trade-off being that rejection can break legitimate inputs containing spaces, and switching clients may change other request behavior. Calling uri.normalize.request_uri also avoids the flaw, at the cost of normalizing the path and query and potentially altering request targets that servers map literally, such as S3 keys or signed URLs. Details are in advisory GHSA-qg8x-qm93-fw27.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in rubygems
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Addressable is a pure-Ruby replacement for the standard library's URI implementation. Its #request_uri method was introduced in 2.1.2 to produce the request-target component (path plus query) for an HTTP request line, and it joined those components as stored rather than re-encoding them. Addressable::URI.parse as well as the path= and query= setters accept control characters, so carriage returns, line feeds, other U+0000-U+001F characters, U+007F and spaces can survive into the returned string. This is CWE-93 (CRLF injection, leading to CWE-113 HTTP request/response splitting) because RFC 9112 §3 forbids CR, LF and space in a request target and RFC 3986 excludes them from a URI. The fix commit adds a REQUEST_TARGET_UNSAFE byte regex (\x00-\x20, \x7F) and percent-encodes only those bytes, deliberately leaving other non-URI characters such as non-ASCII text, quotes, braces, pipes and bracket syntax untouched to avoid changing working request targets (for example S3 keys or signed path/query strings). #normalize already percent-encoded these characters, so uri.normalize.request_uri was never affected. CVSS 3.1 scores this 3.7 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N): the network vector reflects the injection surface, while AC:H captures that the flaw is only reachable through a narrow, non-default client/integration combination rather than by remote requests alone.
Know when Addressable gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Remote and unauthenticated (AV:N/PR:N), but success depends on an uncommon non-validating client and client/server behavior (AC:H); impact is limited header/request integrity only (I:L), with no confidentiality or availability loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.1.2 until 2.10.0, Addressable::URI#request_uri returns stored control characters and spaces without encoding them. An HTTP client that writes this value directly into an HTTP request line can allow an untrusted URI to terminate the line early and inject headers. With keep-alive, and depending on client and server behavior, the injected text could potentially begin an additional request on the same connection. This issue is fixed in version 2.10.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
More in Addressable
View allRegular expression denial of service (ReDoS) in the Addressable Ruby library versions 2.3.0 through 2.8.x allows unauthe
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Rated hi
Regular expression denial of service in the Addressable Ruby gem (2.3.0 through 2.9.2) allows crafted URIs to force exce
Polynomial backtracking in Addressable's URI template matching lets a crafted URI drive Template#match or Template#extra
Polynomial-time regular expression backtracking in the Addressable Ruby gem's URI template matcher (Template#match and T
Polynomial-time regular-expression backtracking in the Addressable Ruby gem (2.9.1 through 2.9.2) lets unauthenticated r
Hostname filtering bypass in the Addressable Ruby URI library (versions 2.2.5 through 2.9.2, fixed in 2.10.0) causes a p
Addressable, the Ruby URI library, fails to reject or percent-encode host-changing delimiters in the userinfo component:
Denial of service in the Addressable Ruby gem 2.9.1 through 2.9.x lets unauthenticated remote attackers consume excessiv
Addressable, the Ruby URI and RFC 6570 template library, takes the variable name in an unexploded ';', '?', or '&' templ
SSRF filter bypass in the Addressable Ruby gem (2.3.5 through 2.9.2) lets an attacker-supplied URL pass a destination ch
Quadratic-time Unicode normalization in the Ruby Addressable gem (2.0.0 through 2.9.2) lets remote attackers burn CPU on
EUVD-2026-140760
GHSA-qg8x-qm93-fw27
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB