Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/38847?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38847?format=api",
    "vulnerability_id": "VCID-ceb4-v9ww-rkfn",
    "summary": "RCE attack via REST plugin with XStream handler to deserialise XML requests\nThe REST Plugin in this package uses an `XStreamHandler` with an instance of `XStream` for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.",
    "aliases": [
        {
            "alias": "CVE-2017-9805"
        },
        {
            "alias": "GHSA-gg9m-fj3v-r58c"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54100?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.34",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.34"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54101?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54152?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.34",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.34"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54153?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.5.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.5.13"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55258?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ceb4-v9ww-rkfn"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56675?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ceb4-v9ww-rkfn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.5.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1488482",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1488482"
        },
        {
            "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-052",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cwiki.apache.org/confluence/display/WW/S2-052"
        },
        {
            "reference_url": "https://github.com/apache/struts",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/19494718865f2fb7da5ea363de3822f87fbda26",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/19494718865f2fb7da5ea363de3822f87fbda26"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/6dd6e5cfb7b5e020abffe7e8091bd63fe97c10a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/6dd6e5cfb7b5e020abffe7e8091bd63fe97c10a"
        },
        {
            "reference_url": "https://lgtm.com/blog/apache_struts_CVE-2017-9805",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lgtm.com/blog/apache_struts_CVE-2017-9805"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20170907-0001",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20170907-0001"
        },
        {
            "reference_url": "https://struts.apache.org/docs/s2-052.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://struts.apache.org/docs/s2-052.html"
        },
        {
            "reference_url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2"
        },
        {
            "reference_url": "https://web.archive.org/web/20170909031344/http://www.securityfocus.com/bid/100609",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20170909031344/http://www.securityfocus.com/bid/100609"
        },
        {
            "reference_url": "https://web.archive.org/web/20170922053119/http://www.securitytracker.com/id/1039263",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20170922053119/http://www.securitytracker.com/id/1039263"
        },
        {
            "reference_url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805"
        },
        {
            "reference_url": "https://www.exploit-db.com/exploits/42627",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.exploit-db.com/exploits/42627"
        },
        {
            "reference_url": "https://www.kb.cert.org/vuls/id/112992",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.kb.cert.org/vuls/id/112992"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2017-9805",
            "reference_id": "CVE-2017-9805",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/security/cve/CVE-2017-9805"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9805",
            "reference_id": "CVE-2017-9805",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9805"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-gg9m-fj3v-r58c",
            "reference_id": "GHSA-gg9m-fj3v-r58c",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-gg9m-fj3v-r58c"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 502,
            "name": "Deserialization of Untrusted Data",
            "description": "The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ceb4-v9ww-rkfn"
}