Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41434?format=api",
    "vulnerability_id": "VCID-29ju-364n-qkch",
    "summary": "Content object state fetch functions open to SQL injection\n### Impact\nThis Security Update is about a vulnerability in eZ Publish Legacy. The content object state code could be vulnerable to SQL injection. There is no known exploit, but one might be possible. If you use Legacy in any way, we strongly recommend that you install this update as soon as possible.\n\n### Patches\nThe fix is distributed via Composer, see \"Patched versions\".",
    "aliases": [
        {
            "alias": "GHSA-jpwx-ffjq-wr4w"
        },
        {
            "alias": "GMS-2021-112"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58935?format=api",
            "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7%2B4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.7%252B4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58936?format=api",
            "purl": "pkg:composer/ezsystems/ezpublish-legacy@2019.3.6%2B1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.3.6%252B1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58933?format=api",
            "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7%2B3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-29ju-364n-qkch"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.7%252B3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56942?format=api",
            "purl": "pkg:composer/ezsystems/ezpublish-legacy@2018.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2975-xhf4-ckcj"
                },
                {
                    "vulnerability": "VCID-29ju-364n-qkch"
                },
                {
                    "vulnerability": "VCID-eaqz-xw6f-6yeb"
                },
                {
                    "vulnerability": "VCID-ufw5-emg4-cqd6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2018.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58934?format=api",
            "purl": "pkg:composer/ezsystems/ezpublish-legacy@2019.3.5%2B1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-29ju-364n-qkch"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.3.5%252B1"
        }
    ],
    "references": [
        {
            "reference_url": "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-005-content-object-state-fetch-functions-open-to-sql-injection",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-005-content-object-state-fetch-functions-open-to-sql-injection"
        },
        {
            "reference_url": "https://github.com/ezsystems/ezpublish-legacy/commit/f8e3a97afd92efb9148134a4bacb35a875777a42",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ezsystems/ezpublish-legacy/commit/f8e3a97afd92efb9148134a4bacb35a875777a42"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jpwx-ffjq-wr4w",
            "reference_id": "GHSA-jpwx-ffjq-wr4w",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-jpwx-ffjq-wr4w"
        },
        {
            "reference_url": "https://github.com/ezsystems/ezpublish-legacy/security/advisories/GHSA-jpwx-ffjq-wr4w",
            "reference_id": "GHSA-jpwx-ffjq-wr4w",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ezsystems/ezpublish-legacy/security/advisories/GHSA-jpwx-ffjq-wr4w"
        }
    ],
    "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-29ju-364n-qkch"
}