{"id":"CVE-2015-2963","state":"PUBLISHED","title":"The 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","description":"The 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.","publishedAt":"2015-07-10T17:00:00.000Z","updatedAt":"2024-08-06T05:32:20.697Z","severity":null,"assigner":"jpcert","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/75304","https://robots.thoughtbot.com/paperclip-security-release","https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57","http://jvn.jp/en/jp/JVN83881261/index.html","http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088","http://openwall.com/lists/oss-security/2015/06/19/3"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:02.420Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/2xxx/CVE-2015-2963.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-2963","state":"PUBLISHED","datePublished":"2015-07-10T17:00:00.000Z","dateUpdated":"2024-08-06T05:32:20.697Z","assignerShortName":"jpcert","assignerOrgId":"ede6fdc4-6654-4307-a26d-3331c018e2ce","dateReserved":"2015-04-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The 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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/75304","name":"75304","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://robots.thoughtbot.com/paperclip-security-release","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57","tags":["x_refsource_CONFIRM"]},{"url":"http://jvn.jp/en/jp/JVN83881261/index.html","name":"JVN#83881261","tags":["third-party-advisory","x_refsource_JVN"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088","name":"JVNDB-2015-000088","tags":["third-party-advisory","x_refsource_JVNDB"]},{"url":"http://openwall.com/lists/oss-security/2015/06/19/3","name":"[oss-security] 20150618 Re: CVE request: Content type spoofing in ruby gem paperclip <4.2.2","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"jpcert","dateUpdated":"2016-12-01T15:57:02.000Z","orgId":"ede6fdc4-6654-4307-a26d-3331c018e2ce"},"datePublic":"2015-06-05T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"vultures@jpcert.or.jp","ID":"CVE-2015-2963","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"75304","refsource":"BID","url":"http://www.securityfocus.com/bid/75304"},{"name":"https://robots.thoughtbot.com/paperclip-security-release","refsource":"CONFIRM","url":"https://robots.thoughtbot.com/paperclip-security-release"},{"name":"https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57","refsource":"CONFIRM","url":"https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57"},{"name":"JVN#83881261","refsource":"JVN","url":"http://jvn.jp/en/jp/JVN83881261/index.html"},{"name":"JVNDB-2015-000088","refsource":"JVNDB","url":"http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088"},{"name":"[oss-security] 20150618 Re: CVE request: Content type spoofing in ruby gem paperclip <4.2.2","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/06/19/3"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/75304","name":"75304","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://robots.thoughtbot.com/paperclip-security-release","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://jvn.jp/en/jp/JVN83881261/index.html","name":"JVN#83881261","tags":["third-party-advisory","x_refsource_JVN","x_transferred"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088","name":"JVNDB-2015-000088","tags":["third-party-advisory","x_refsource_JVNDB","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2015/06/19/3","name":"[oss-security] 20150618 Re: CVE request: Content type spoofing in ruby gem paperclip <4.2.2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T05:32:20.697Z"}}]}}}