Debian Security Advisory

DLA-2380-1 ruby-gon -- LTS security update

Date Reported:
26 Sep 2020
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2020-25739.
More information:

It was discovered that there was a cross-site scripting (XSS) vulnerability in ruby-gon, a Ruby library to send/convert data to Javascript from a Ruby application.

  • CVE-2020-25739

    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.

For Debian 9 Stretch, these problems have been fixed in version 6.1.0-1+deb9u1.

We recommend that you upgrade your ruby-gon packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: