Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38152?format=api",
    "vulnerability_id": "VCID-qdsq-8td3-5qa1",
    "summary": "Improper Input Validation\nThe `URLValidator` class in Apache Struts 2 allows remote attackers to cause a denial of service via a `null` value for a URL field.",
    "aliases": [
        {
            "alias": "CVE-2016-4465"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52808?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.29",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.29"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52809?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52096?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4t8h-s9mh-p7c4"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.20"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52325?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.20.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52682?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.20.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52680?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fwkj-x53j-yqd8"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52635?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-9mn7-d2mm-uqay"
                },
                {
                    "vulnerability": "VCID-q2ad-khtm-nqdr"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52636?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52681?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.28",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.28"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52683?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.28.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.28.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52807?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21k4-5a8r-7bd9"
                },
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-ybuw-727z-r3eb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5"
        }
    ],
    "references": [
        {
            "reference_url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000114",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000114"
        },
        {
            "reference_url": "http://jvn.jp/en/jp/JVN12352818/index.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://jvn.jp/en/jp/JVN12352818/index.html"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348253",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348253"
        },
        {
            "reference_url": "https://struts.apache.org/docs/s2-041.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://struts.apache.org/docs/s2-041.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4465",
            "reference_id": "CVE-2016-4465",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4465"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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-qdsq-8td3-5qa1"
}