
CVE catalog
CVE-2020-25739
ruby-gon: CVE-2020-25739
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.38% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-gon | bookworm | 6.4.0-2 | fixed |
| Ubuntu | ruby-gon | 18.04 | 6.1.0-1 | vulnerable |
| Ubuntu | ruby-gon | 18.04 | 6.1.0-1+deb9u1build0.18.04.1 | fixed |
| Ubuntu | ruby-gon | 16.04 | 5.2.3-2 | vulnerable |
| Ubuntu | ruby-gon | 16.04 | 6.0.1-1 | vulnerable |
| Ubuntu | ruby-gon | 18.04 | 6.1.0-1 | vulnerable |
| Ubuntu | ruby-gon | 18.04 | 6.1.0-1+deb9u1build0.18.04.1 | fixed |
| Ubuntu | ruby-gon | 20.04 | 6.2.1-1 | vulnerable |
| Ubuntu | ruby-gon | 20.04 | 6.3.2-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-gon | source | bookworm | 6.4.0-1 | not yet assigned | Not reported | [970938] |
| Ubuntu | ruby-gon | deb | 18.04 | 6.1.0-1+deb9u1build0.18.04.1 | Not reported | USN-4560-1 | Not reported |
| Ubuntu | ruby-gon | deb | 18.04 | 6.1.0-1+deb9u1build0.18.04.1 | Not reported | UBUNTU-CVE-2020-25739 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-gon]Fixed
Details (2)
6.4.0-2· all · bookwormFixed · Fixed:
6.4.0-1dsa · ruby-gon · debian · bookworm; dsa · ruby-gon · debian · 12
6.4.0-2· all · bookwormFixed · Fixed:
6.4.0-1dsa · ruby-gon · debian · bookworm; dsa · ruby-gon · debian · 12
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-25739]
- [https://osv.dev/vulnerability/DLA-2380-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-25739]
- [https://osv.dev/vulnerability/USN-4560-1]
- [https://security-tracker.debian.org/tracker/CVE-2020-25739]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]