Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38150?format=api",
    "vulnerability_id": "VCID-npge-yn8z-6fac",
    "summary": "Improper Input Validation\nThe REST plugin in Apache Struts 2, allows remote attackers to execute arbitrary code via a crafted expression.",
    "aliases": [
        {
            "alias": "CVE-2016-4438"
        },
        {
            "alias": "GHSA-4prj-vw9j-v6pr"
        }
    ],
    "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/52793?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.28.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2f37-y2q9-e7h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.28.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52786?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.20",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.20"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52787?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.20.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.20.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52788?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.20.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.20.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52789?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52790?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52791?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2f37-y2q9-e7h4"
                },
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.24.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52792?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.28",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-npge-yn8z-6fac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-rest-plugin@2.3.28"
        }
    ],
    "references": [
        {
            "reference_url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000110",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000110"
        },
        {
            "reference_url": "http://jvn.jp/en/jp/JVN07710476/index.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://jvn.jp/en/jp/JVN07710476/index.html"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348238",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348238"
        },
        {
            "reference_url": "https://struts.apache.org/docs/s2-037.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://struts.apache.org/docs/s2-037.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4438",
            "reference_id": "CVE-2016-4438",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4438"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4prj-vw9j-v6pr",
            "reference_id": "GHSA-4prj-vw9j-v6pr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4prj-vw9j-v6pr"
        }
    ],
    "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."
        },
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-npge-yn8z-6fac"
}