1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"schema_version":"1.9.0","id":"GHSA-phmw-pv3f-vvx7","published":"2018-08-13T20:47:44Z","modified":"2024-12-02T05:47:04.282354Z","withdrawn":"2020-06-17T15:14:58Z","summary":"Moderate severity vulnerability that affects paperclip","details":"Withdrawn, accidental duplicate publish.\n\nThe thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed value, as demonstrated by image/jpeg.","affected":[{"package":{"name":"paperclip","ecosystem":"RubyGems","purl":"pkg:gem/paperclip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2"}]}],"versions":["2.1.0","2.1.2","2.1.5","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9.1","2.2.9.2","2.3.0","2.3.1","2.3.1.1","2.3.10","2.3.11","2.3.12","2.3.15","2.3.16","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.5.0","2.5.1","2.5.2","2.6.0","2.7.0","2.7.1","2.7.2","2.7.4","2.7.5","2.8.0","3.0.2","3.0.3","3.0.4","3.1.0","3.1.1","3.1.2","3.1.4","3.2.0","3.2.1","3.3.0","3.3.1","3.4.0","3.4.1","3.4.2","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","4.0.0","4.1.0","4.1.1","4.2.0","4.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-phmw-pv3f-vvx7/GHSA-phmw-pv3f-vvx7.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2963"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-phmw-pv3f-vvx7"},{"type":"PACKAGE","url":"https://github.com/thoughtbot/paperclip"}],"database_specific":{"cwe_ids":[],"github_reviewed":true,"github_reviewed_at":"2020-06-17T15:14:58Z","nvd_published_at":null,"severity":"MODERATE"}} |