Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45085?format=api",
    "vulnerability_id": "VCID-d6cw-a4th-eueu",
    "summary": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')\nPimcore is an open source data and experience management platform. Prior to version 10.5.21, A SQL injection vulnerability exists in the translation export API. Users should update to version 10.5.21 to receive a patch or, as a workaround, or apply the patch manually.",
    "aliases": [
        {
            "alias": "CVE-2023-30849"
        },
        {
            "alias": "GHSA-xmg8-w465-mr56"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65004?format=api",
            "purl": "pkg:composer/pimcore/pimcore@10.5.21",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/pimcore/pimcore@10.5.21"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/pimcore/pimcore/commit/c6c80905e58c7724c776f980570a56df7016c6d1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/commit/c6c80905e58c7724c776f980570a56df7016c6d1"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/commit/c6c80905e58c7724c776f980570a56df7016c6d1.patch",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/commit/c6c80905e58c7724c776f980570a56df7016c6d1.patch"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/pull/14968",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/pull/14968"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30849",
            "reference_id": "CVE-2023-30849",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30849"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-xmg8-w465-mr56",
            "reference_id": "GHSA-xmg8-w465-mr56",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-xmg8-w465-mr56"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-xmg8-w465-mr56",
            "reference_id": "GHSA-xmg8-w465-mr56",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-xmg8-w465-mr56"
        }
    ],
    "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": 89,
            "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
            "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL 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-d6cw-a4th-eueu"
}