Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/19818?format=api",
    "purl": "pkg:pypi/pysaml2@6.2.0",
    "type": "pypi",
    "namespace": "",
    "name": "pysaml2",
    "version": "6.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.5.0",
    "latest_non_vulnerable_version": "6.5.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3900?format=api",
            "vulnerability_id": "VCID-18jn-t4rf-13f1",
            "summary": "signature forgery",
            "references": [
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/commit/1d8fd268f5bf887480a403a7a5ef8f048157cc14",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/commit/1d8fd268f5bf887480a403a7a5ef8f048157cc14"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9"
                },
                {
                    "reference_url": "https://pypi.org/project/pysaml2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/pysaml2"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1487",
                    "reference_id": "AVG-1487",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1487"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19823?format=api",
                    "purl": "pkg:pypi/pysaml2@6.5.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@6.5.0"
                }
            ],
            "aliases": [
                "CVE-2021-21238",
                "GHSA-f4g9-h89h-jgv9",
                "PYSEC-2021-48"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-18jn-t4rf-13f1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3899?format=api",
            "vulnerability_id": "VCID-azuf-r76r-gkaa",
            "summary": "signature forgery",
            "references": [
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/commit/46578df0695269a16f1c94171f1429873f90ed99",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/commit/46578df0695269a16f1c94171f1429873f90ed99"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-5p3x-r448-pc62",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-5p3x-r448-pc62"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html"
                },
                {
                    "reference_url": "https://pypi.org/project/pysaml2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/pysaml2"
                },
                {
                    "reference_url": "https://www.aleksey.com/pipermail/xmlsec/2013/009717.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.aleksey.com/pipermail/xmlsec/2013/009717.html"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1487",
                    "reference_id": "AVG-1487",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1487"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19823?format=api",
                    "purl": "pkg:pypi/pysaml2@6.5.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@6.5.0"
                }
            ],
            "aliases": [
                "CVE-2021-21239",
                "GHSA-5p3x-r448-pc62",
                "PYSEC-2021-49"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-azuf-r76r-gkaa"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@6.2.0"
}