CVE-2020-25739: XSS

Published Sep 23, 2020
·
Updated

An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escapemode parameter to escape fields as an XSS protection mechanism. To mitigate, jsondumper.rb in gon now does escaping for XSS by default without relying on MultiJson.

Affected Software

8 affected componentsFixes available
rubygems/gon<6.4.0
6.4.0
debian/ruby-gon
6.4.0-16.4.0-2
Gon Project Gon Ruby<6.4.0
Canonical Ubuntu Linux=18.04
Debian Debian Linux=9.0
ubuntu/ruby-gon<6.0.1-1ubuntu0.1~esm1
6.0.1-1ubuntu0.1~esm1
ubuntu/ruby-gon<6.1.0-1+deb9u1build0.18.04.1
6.1.0-1+deb9u1build0.18.04.1
ubuntu/ruby-gon<6.3.2-1ubuntu0.1~esm1
6.3.2-1ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/gon to a version that resolves this vulnerability.

    Fixed in 6.4.0
  2. Upgrade

    Upgrade debian/ruby-gon to a version that resolves this vulnerability.

    Fixed in 6.4.0-1Fixed in 6.4.0-2
  3. Upgrade

    Upgrade ubuntu/ruby-gon to a version that resolves this vulnerability.

    Fixed in 6.0.1-1ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/ruby-gon to a version that resolves this vulnerability.

    Fixed in 6.1.0-1+deb9u1build0.18.04.1
  5. Upgrade

    Upgrade ubuntu/ruby-gon to a version that resolves this vulnerability.

    Fixed in 6.3.2-1ubuntu0.1~esm1
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.4.0

Event History

Sep 23, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·01:53 PM
Data Sourced
via MITRE·01:53 PM
Description
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Apr 30, 2021
Advisory Published
05:29 PM
Jan 31, 2023
Data Sourced
09:14 PM
Weakness
Data Sourced
via NVD·09:14 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
09:14 PM
Affected Software
Aug 29, 2023
Advisory Published
12:13 PM
Nov 21, 2024
Updated
via NVD·05:18 AM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2020-25739?

CVE-2020-25739 is classified as a medium severity vulnerability due to its potential for XSS attacks.

2

How do I fix CVE-2020-25739?

To fix CVE-2020-25739, upgrade the gon gem to version 6.4.0 or later.

3

Which versions of the gon gem are affected by CVE-2020-25739?

Versions of the gon gem prior to 6.4.0 are affected by CVE-2020-25739.

4

Is CVE-2020-25739 applicable to Debian packages?

Yes, versions of ruby-gon prior to 6.4.0-1 and 6.4.0-2 are vulnerable to CVE-2020-25739.

5

What types of systems are affected by CVE-2020-25739?

CVE-2020-25739 affects systems using the gon gem in Ruby applications, including Debian and Ubuntu installations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203