{"url":"http://public2.vulnerablecode.io/api/packages/52323?format=json","purl":"pkg:gem/paperclip@4.2.2","type":"gem","namespace":"","name":"paperclip","version":"4.2.2","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"4.3.6","latest_non_vulnerable_version":"5.2.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/37922?format=json","vulnerability_id":"VCID-7u74-jkq2-pygf","summary":"It's possible to cause a DoS by uploading files with a spoofed media type, because it causes megabytes of logging to be written.","references":[{"reference_url":"https://github.com/thoughtbot/paperclip/pull/2017","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/thoughtbot/paperclip/pull/2017"},{"reference_url":"https://github.com/thoughtbot/paperclip/pull/2126","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/thoughtbot/paperclip/pull/2126"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/52376?format=json","purl":"pkg:gem/paperclip@4.3.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.3.6"}],"aliases":["GMS-2015-32"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-7u74-jkq2-pygf"}],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/37882?format=json","vulnerability_id":"VCID-xfsg-4ypk-xfgz","summary":"Content type spoofing vulnerability\nThere is an issue where if an HTML file is uploaded with a `.html` extension, but the content type is listed as being `image/jpeg`, this will bypass a validation checking for images. But it will also pass the spoof check, because a file named `.html` and containing actual HTML passes the spoof check.","references":[{"reference_url":"https://robots.thoughtbot.com/paperclip-security-release","reference_id":"","reference_type":"","scores":[],"url":"https://robots.thoughtbot.com/paperclip-security-release"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/52323?format=json","purl":"pkg:gem/paperclip@4.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7u74-jkq2-pygf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.2.2"}],"aliases":["CVE-2015-2963"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-xfsg-4ypk-xfgz"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.2.2"}