Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1077782?format=api",
    "purl": "pkg:pypi/gitpython@3.1.47",
    "type": "pypi",
    "namespace": "",
    "name": "gitpython",
    "version": "3.1.47",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/354651?format=api",
            "vulnerability_id": "VCID-4tn4-pbvn-h3hx",
            "summary": "GitPython has Command Injection via Git options bypass",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-rpm5-65cw-6hj4",
                    "reference_id": "GHSA-rpm5-65cw-6hj4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rpm5-65cw-6hj4"
                },
                {
                    "reference_url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4",
                    "reference_id": "GHSA-rpm5-65cw-6hj4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1077782?format=api",
                    "purl": "pkg:pypi/gitpython@3.1.47",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gitpython@3.1.47"
                }
            ],
            "aliases": [
                "GHSA-rpm5-65cw-6hj4"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4tn4-pbvn-h3hx"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/354650?format=api",
            "vulnerability_id": "VCID-sz7f-e4sp-y3aq",
            "summary": "GitPython: Unsafe option check validates multi_options before shlex.split transformation",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-x2qx-6953-8485",
                    "reference_id": "GHSA-x2qx-6953-8485",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-x2qx-6953-8485"
                },
                {
                    "reference_url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485",
                    "reference_id": "GHSA-x2qx-6953-8485",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1077782?format=api",
                    "purl": "pkg:pypi/gitpython@3.1.47",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gitpython@3.1.47"
                }
            ],
            "aliases": [
                "GHSA-x2qx-6953-8485"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sz7f-e4sp-y3aq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gitpython@3.1.47"
}