Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43925?format=api",
    "vulnerability_id": "VCID-4ywn-n1my-83ev",
    "summary": "Improper Input Validation\nThe TextParseUtil.translateVariables method in Apache Struts 2.x before 2.3.20 allows remote attackers to execute arbitrary code via a crafted OGNL expression with ANTLR tooling.",
    "aliases": [
        {
            "alias": "CVE-2016-3090"
        },
        {
            "alias": "GHSA-ggmp-fxfg-277r"
        }
    ],
    "fixed_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/63168?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-parent@2.3.20",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-parent@2.3.20"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61515?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4bm7-hbe1-mfca"
                },
                {
                    "vulnerability": "VCID-4ywn-n1my-83ev"
                },
                {
                    "vulnerability": "VCID-xgnf-d44x-kfc9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63167?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-parent@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4ywn-n1my-83ev"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-parent@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0005/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20180629-0005/"
        },
        {
            "reference_url": "https://struts.apache.org/docs/s2-027.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://struts.apache.org/docs/s2-027.html"
        },
        {
            "reference_url": "https://web.archive.org/web/20210123095942/http://www.securityfocus.com/bid/85131",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20210123095942/http://www.securityfocus.com/bid/85131"
        },
        {
            "reference_url": "https://web.archive.org/web/20211206100940/https://www.securitytracker.com/id/1035267",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20211206100940/https://www.securitytracker.com/id/1035267"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3090",
            "reference_id": "CVE-2016-3090",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3090"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ggmp-fxfg-277r",
            "reference_id": "GHSA-ggmp-fxfg-277r",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-ggmp-fxfg-277r"
        }
    ],
    "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": 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."
        },
        {
            "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-4ywn-n1my-83ev"
}