原始 OSV JSON{
"id": "GHSA-6jvm-3j5h-79f6",
"aliases": [
"CVE-2015-2963"
],
"details": "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.",
"summary": "paperclip Cross-site Scripting vulnerability",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.2.2"
}
]
}
],
"package": {
"name": "paperclip",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-01-23T20:43:16Z",
"severity": [],
"published": "2017-10-24T18:33:36Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-2963",
"type": "ADVISORY"
},
{
"url": "https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57",
"type": "WEB"
},
{
"url": "https://github.com/thoughtbot/paperclip",
"type": "PACKAGE"
},
{
"url": "https://robots.thoughtbot.com/paperclip-security-release",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20200228084907/http://www.securityfocus.com/bid/75304",
"type": "WEB"
},
{
"url": "http://jvn.jp/en/jp/JVN83881261/index.html",
"type": "WEB"
},
{
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088",
"type": "WEB"
},
{
"url": "http://openwall.com/lists/oss-security/2015/06/19/3",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:19:37Z"
}
}