Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/14802?format=api",
    "purl": "pkg:pypi/pysaml2@4.6.4",
    "type": "pypi",
    "namespace": "",
    "name": "pysaml2",
    "version": "4.6.4",
    "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35479?format=api",
            "vulnerability_id": "VCID-rydh-2y4u-u3ef",
            "summary": "PySAML2 before 5.0.0 does not check that the signature in a SAML document is enveloped and thus signature wrapping is effective, i.e., it is affected by XML Signature Wrapping (XSW). The signature information and the node/object that is signed can be in different places and thus the signature verification will succeed, but the wrong data will be used. This specifically affects the verification of assertion that have been signed.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-qf7v-8hj3-4xw7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qf7v-8hj3-4xw7"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/releases"
                },
                {
                    "reference_url": "https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html"
                },
                {
                    "reference_url": "https://pypi.org/project/pysaml2/5.0.0/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/pysaml2/5.0.0/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4245-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4245-1/"
                },
                {
                    "reference_url": "https://www.debian.org/security/2020/dsa-4630",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2020/dsa-4630"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/14807?format=api",
                    "purl": "pkg:pypi/pysaml2@5.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-18jn-t4rf-13f1"
                        },
                        {
                            "vulnerability": "VCID-azuf-r76r-gkaa"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@5.0.0"
                }
            ],
            "aliases": [
                "CVE-2020-5390",
                "GHSA-qf7v-8hj3-4xw7",
                "PYSEC-2020-94"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rydh-2y4u-u3ef"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@4.6.4"
}