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.
References
Link | Resource |
---|---|
https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7 | Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html | Mailing List Third Party Advisory |
https://usn.ubuntu.com/4560-1/ | Third Party Advisory |
https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7 | Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html | Mailing List Third Party Advisory |
https://usn.ubuntu.com/4560-1/ | Third Party Advisory |
Configurations
History
21 Nov 2024, 05:18
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7 - Patch, Third Party Advisory | |
References | () https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html - Mailing List, Third Party Advisory | |
References | () https://usn.ubuntu.com/4560-1/ - Third Party Advisory |
Information
Published : 2020-09-23 14:15
Updated : 2024-11-21 05:18
NVD link : CVE-2020-25739
Mitre link : CVE-2020-25739
CVE.ORG link : CVE-2020-25739
JSON object : View
Products Affected
debian
- debian_linux
canonical
- ubuntu_linux
gon_project
- gon
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')