Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/534871?format=api",
    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.3",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezpublish-legacy",
    "version": "2017.12.7.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2017.12.7.4",
    "latest_non_vulnerable_version": "2019.03.6",
    "affected_by_vulnerabilities": [
        {
            "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\".",
            "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": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "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",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezpublish-legacy"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-legacy/commit/f8e3a97afd92efb9148134a4bacb35a875777a42",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "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": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezpublish-legacy/security/advisories/GHSA-jpwx-ffjq-wr4w"
                }
            ],
            "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/534872?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/534880?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2019.03.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.03.6"
                },
                {
                    "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"
                }
            ],
            "aliases": [
                "GHSA-jpwx-ffjq-wr4w",
                "GMS-2021-112"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-29ju-364n-qkch"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54901?format=api",
            "vulnerability_id": "VCID-qymv-b76a-2yh2",
            "summary": "Ez Platform Object Injection in legacy shop module\nThis Security Advisory is about a vulnerability in the Legacy shop module. A backend editor could perform object injection in discount rules. This would require backend access and permission to edit discount rules. While object injection in itself is a serious vulnerability, the permission requirement means that normally only administrators would be able to exploit it, that's why it was classified as Medium severity.",
            "references": [
                {
                    "reference_url": "https://ezplatform.com/security-advisories/ibexa-sa-2020-006-object-injection-in-legacy-shop-module",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://ezplatform.com/security-advisories/ibexa-sa-2020-006-object-injection-in-legacy-shop-module"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-legacy",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezpublish-legacy"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2020-10-05-1.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2020-10-05-1.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-39j2-4p9j-5w4j",
                    "reference_id": "GHSA-39j2-4p9j-5w4j",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-39j2-4p9j-5w4j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81437?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@5.4.14%2B2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@5.4.14%252B2"
                },
                {
                    "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/534871?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.3",
                    "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.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/534879?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2019.03.5.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-29ju-364n-qkch"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.03.5.1"
                },
                {
                    "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"
                }
            ],
            "aliases": [
                "GHSA-39j2-4p9j-5w4j"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qymv-b76a-2yh2"
        }
    ],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.3"
}