Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/22696?format=api",
    "purl": "pkg:pypi/thefuck@3.2",
    "type": "pypi",
    "namespace": "",
    "name": "thefuck",
    "version": "3.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.31",
    "latest_non_vulnerable_version": "3.31",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7305?format=api",
            "vulnerability_id": "VCID-sdrf-dz37-uffg",
            "summary": "arbitrary file overwrite",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-8wwf-2644-f8x4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8wwf-2644-f8x4"
                },
                {
                    "reference_url": "https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092"
                },
                {
                    "reference_url": "https://github.com/nvbn/thefuck/releases/tag/3.31",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/nvbn/thefuck/releases/tag/3.31"
                },
                {
                    "reference_url": "https://vuln.ryotak.me/advisories/48",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://vuln.ryotak.me/advisories/48"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202106-39",
                    "reference_id": "ASA-202106-39",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202106-39"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2062",
                    "reference_id": "AVG-2062",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2062"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22725?format=api",
                    "purl": "pkg:pypi/thefuck@3.31",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/thefuck@3.31"
                }
            ],
            "aliases": [
                "CVE-2021-34363",
                "GHSA-8wwf-2644-f8x4",
                "PYSEC-2021-97"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sdrf-dz37-uffg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/thefuck@3.2"
}