Publish GHSA-78vq-9j56-wrfr

This commit is contained in:
advisory-database[bot]
2023-08-29 12:14:18 +00:00
parent f24644d0f1
commit 58f82dd20e
@@ -1,12 +1,12 @@
{
"schema_version": "1.4.0",
"id": "GHSA-78vq-9j56-wrfr",
"modified": "2023-01-26T22:33:51Z",
"modified": "2023-08-29T12:13:04Z",
"published": "2021-04-30T17:29:15Z",
"aliases": [
"CVE-2020-25739"
],
"summary": "Cross-site Scripting in gon",
"summary": "Gon gem lack of escaping certain input when outputting as JSON",
"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": [
{
@@ -20,6 +20,11 @@
"ecosystem": "RubyGems",
"name": "gon"
},
"ecosystem_specific": {
"affected_functions": [
""
]
},
"ranges": [
{
"type": "ECOSYSTEM",
@@ -48,6 +53,10 @@
"type": "PACKAGE",
"url": "https://github.com/gazay/gon"
},
{
"type": "WEB",
"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"