Vulnerability · Published Sep 23, 2020 · Assigned by mitre
CVE-2020-25739
Medium 6.1
In plain English
A medium-severity security flaw in the ruby-gon package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.4%top 27.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escape_mode parameter to escape fields as an XSS protection mechanism. To mitigate, json_dumper.rb in gon now does escaping for XSS by default without relying on MultiJson.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-gon | 6.4.0-1 | DEBIAN-CVE-2020-25739 |
| RubyGems | gon | 6.4.0 | GHSA-78vq-9j56-wrfr |
Affected products (as reported)
References
- https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7 x_refsource_CONFIRM
- [debian-lts-announce] 20200926 [SECURITY] [DLA 2380-1] ruby-gon security update mailing-list, x_refsource_MLIST
- USN-4560-1 vendor-advisory, x_refsource_UBUNTU