Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/2611?format=api",
    "purl": "pkg:alpm/archlinux/matrix-synapse@1.21.0-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "matrix-synapse",
    "version": "1.21.0-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.41.1-1",
    "latest_non_vulnerable_version": "1.47.1-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5821?format=api",
            "vulnerability_id": "VCID-swgx-he8k-1qhy",
            "summary": "cross-site scripting",
            "references": [
                {
                    "reference_url": "https://github.com/matrix-org/synapse",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/pull/8444",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/pull/8444"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/releases"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/releases/tag/v1.21.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/releases/tag/v1.21.2"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2020-238.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2020-238.yaml"
                },
                {
                    "reference_url": "https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202011-4",
                    "reference_id": "ASA-202011-4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202011-4"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1252",
                    "reference_id": "AVG-1252",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1252"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26891",
                    "reference_id": "CVE-2020-26891",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26891"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3x8c-fmpc-5rmq",
                    "reference_id": "GHSA-3x8c-fmpc-5rmq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3x8c-fmpc-5rmq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2611?format=api",
                    "purl": "pkg:alpm/archlinux/matrix-synapse@1.21.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/matrix-synapse@1.21.0-1"
                }
            ],
            "aliases": [
                "CVE-2020-26891",
                "GHSA-3x8c-fmpc-5rmq",
                "PYSEC-2020-238"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-swgx-he8k-1qhy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/matrix-synapse@1.21.0-1"
}