Addressable pure IDNA implementation skips the nameprep bidi rule, so hosts under different domains can display identically
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sporkmongeraddressable | — | Not listed |
| rubygemsaddressable |
≥ 2.0.0, < 2.10.0→ 2.10.0 |
2.10.0 |
Original description The description as published by the source.
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, the pure-Ruby Addressable::IDNA.to_unicode implementation omits the IDNA2003 nameprep bidirectional-label rule. Addressable::URI#display_uri can render an attacker-controlled host identically to a target host only when the target has a right-to-left label with digits beside a dot and the attacker's complementary domain completes that displayed name. A user who trusts the displayed host can therefore be misled about the actual domain. This issue is fixed in version 2.10.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web github.com