{
    "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"
            }
        ]
    }
}