原始 OSV JSON{
"id": "GHSA-78vq-9j56-wrfr",
"aliases": [
"CVE-2020-25739"
],
"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.",
"summary": "Gon gem lack of escaping certain input when outputting as JSON",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.4.0"
}
]
}
],
"package": {
"name": "gon",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-08-29T12:13:04Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2021-04-30T17:29:15Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25739",
"type": "ADVISORY"
},
{
"url": "https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7",
"type": "WEB"
},
{
"url": "https://github.com/gazay/gon",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/gon/CVE-2020-25739.yml",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/4560-1",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-09-23T14:15:00Z",
"github_reviewed_at": "2021-04-28T15:05:22Z"
}
}