Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45082?format=api",
    "vulnerability_id": "VCID-w2hy-y2fn-m7gz",
    "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 admin translations 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-30850"
        },
        {
            "alias": "GHSA-jwg4-qcgv-5wg6"
        }
    ],
    "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/7e32cc28145274ddfc30fb791012d26c1278bd38",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/commit/7e32cc28145274ddfc30fb791012d26c1278bd38"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/commit/7e32cc28145274ddfc30fb791012d26c1278bd38.patch",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/commit/7e32cc28145274ddfc30fb791012d26c1278bd38.patch"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/pull/14952",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/pull/14952"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30850",
            "reference_id": "CVE-2023-30850",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30850"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jwg4-qcgv-5wg6",
            "reference_id": "GHSA-jwg4-qcgv-5wg6",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-jwg4-qcgv-5wg6"
        },
        {
            "reference_url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-jwg4-qcgv-5wg6",
            "reference_id": "GHSA-jwg4-qcgv-5wg6",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-jwg4-qcgv-5wg6"
        }
    ],
    "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-w2hy-y2fn-m7gz"
}