CVE-2026-126349
Addressable display_uri can show misleading hosts containing bidi and invisible characters
Overview
Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, Addressable::IDNA.to_unicode can decode Punycode labels that contain bidirectional controls, zero-width characters, control characters, or other default-ignorable format characters. Addressable::URI#display_uri can consequently show a reordered or visually indistinguishable hostname even though host, normalized_host, and network connections use the original encoded hostname. The pure-Ruby backend accepts the full prohibited set, while the native libidn backend is affected from 2.5.2 for characters added after Unicode 3.2. This issue is fixed in version 2.9.1.
Source: OX vulnerability database
Severity
3.1 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness: CWE-176, CWE-451, CWE-1007
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | addressable | >=2.0.0, <2.9.1 | 2.9.1 |
Open a package to see all its vulnerabilities.
Operating systems · 15 fixes
chainguard 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.4.1.2-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 | 1.19.4.1.2-r3 | |
| pghero +1 | 3.8.0-r15 | |
| kube-logging-operator | 6.9.0-r13 | |
| logstash-8-19 | 8.19.25-r2 | |
| logstash-9-3 | 9.3.8-r4 |
4 more rows
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.4.1.2-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 | 1.19.4.1.2-r3 | |
| kube-logging-operator | 6.9.0-r13 | |
| logstash-9-3 | 9.3.8-r4 | |
| logstash-9-4 | 9.4.9-r3 |
References
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-539f-xcgw-2gjg.yml
- github.com https://github.com/sporkmonger/addressable
- github.com https://github.com/sporkmonger/addressable/commit/60455d32bb59fda2585a0e1865a9fcb21e8e55b1
- github.com https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
- github.com https://github.com/sporkmonger/addressable/security/advisories/GHSA-539f-xcgw-2gjg
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.