Advisory

UBUNTU-CVE-2020-25739

Also known as: CVE-2020-25739

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2020-09-23 14:15 UTC
Modified
2026-02-04 04:04 UTC

Affected packages and fixes

ruby-gon

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

ruby-gon

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 6.1.0-1+deb9u1build0.18.04.1 (ecosystem)

Fixed versions

6.1.0-1+deb9u1build0.18.04.1

Fix

  • Fixed version 6.1.0-1+deb9u1build0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby-gon

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences