Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/10270?format=api",
    "vulnerability_id": "VCID-58ju-4qx6-tka5",
    "summary": "SQL Injection in doctrine orm\nMultiple SQL injection vulnerabilities in the `Doctrine\\DBAL\\Platforms\\AbstractPlatform::modifyLimitQuery` function in Doctrine 1.x before 1.2.4 and 2.x before 2.0.3 allow remote attackers to execute arbitrary SQL commands via the (1) limit or (2) offset field.",
    "aliases": [
        {
            "alias": "CVE-2011-1522"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50108?format=api",
            "purl": "pkg:composer/doctrine/orm@1.2.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/doctrine/orm@1.2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50109?format=api",
            "purl": "pkg:composer/doctrine/orm@2.1.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/doctrine/orm@2.1.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50107?format=api",
            "purl": "pkg:composer/doctrine/orm@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-58ju-4qx6-tka5"
                },
                {
                    "vulnerability": "VCID-pt1n-7yfb-a7d4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/doctrine/orm@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2011-1522",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00605",
                    "scoring_system": "epss",
                    "scoring_elements": "0.69963",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2011-1522"
        },
        {
            "reference_url": "https://web.archive.org/web/20120315064147/https://www.doctrine-project.org/blog/doctrine-security-fix.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20120315064147/https://www.doctrine-project.org/blog/doctrine-security-fix.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1522",
            "reference_id": "CVE-2011-1522",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1522"
        }
    ],
    "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": 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-58ju-4qx6-tka5"
}