Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45083?format=api",
    "vulnerability_id": "VCID-db1h-6hd1-8fg1",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nJFinal CMS v5.1.0 was discovered to contain a remote code execution (RCE) vulnerability via the ActionEnter function.",
    "aliases": [
        {
            "alias": "CVE-2023-30349"
        },
        {
            "alias": "GHSA-8qhm-ch8h-xgjr"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65020?format=api",
            "purl": "pkg:maven/com.jflyfox/jflyfox_jfinal@5.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-db1h-6hd1-8fg1"
                },
                {
                    "vulnerability": "VCID-qwtz-y24w-bybw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.jflyfox/jflyfox_jfinal@5.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/jflyfox/jfinal_cms/issues/54",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jflyfox/jfinal_cms/issues/54"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30349",
            "reference_id": "CVE-2023-30349",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30349"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-8qhm-ch8h-xgjr",
            "reference_id": "GHSA-8qhm-ch8h-xgjr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-8qhm-ch8h-xgjr"
        }
    ],
    "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": 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-db1h-6hd1-8fg1"
}