Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3806?format=api",
    "purl": "pkg:alpm/archlinux/matrix-synapse@1.40.0-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "matrix-synapse",
    "version": "1.40.0-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.41.1-1",
    "latest_non_vulnerable_version": "1.47.1-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7166?format=api",
            "vulnerability_id": "VCID-3sbj-6gut-cybe",
            "summary": "information disclosure",
            "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/commit/cb35df940a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/commit/cb35df940a"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/releases/tag/v1.41.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/releases/tag/v1.41.1"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-424.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-424.yaml"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2334",
                    "reference_id": "AVG-2334",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2334"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39163",
                    "reference_id": "CVE-2021-39163",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39163"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jj53-8fmw-f2w2",
                    "reference_id": "GHSA-jj53-8fmw-f2w2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jj53-8fmw-f2w2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3807?format=api",
                    "purl": "pkg:alpm/archlinux/matrix-synapse@1.41.1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/matrix-synapse@1.41.1-1"
                }
            ],
            "aliases": [
                "CVE-2021-39163",
                "GHSA-jj53-8fmw-f2w2",
                "PYSEC-2021-424"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3sbj-6gut-cybe"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7165?format=api",
            "vulnerability_id": "VCID-d6yz-j1f9-cfec",
            "summary": "information disclosure",
            "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/commit/cb35df940a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/commit/cb35df940a"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/releases/tag/v1.41.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/releases/tag/v1.41.1"
                },
                {
                    "reference_url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-3x4c-pq33-4w3q",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-3x4c-pq33-4w3q"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-425.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-425.yaml"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2334",
                    "reference_id": "AVG-2334",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2334"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39164",
                    "reference_id": "CVE-2021-39164",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39164"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3x4c-pq33-4w3q",
                    "reference_id": "GHSA-3x4c-pq33-4w3q",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3x4c-pq33-4w3q"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3807?format=api",
                    "purl": "pkg:alpm/archlinux/matrix-synapse@1.41.1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/matrix-synapse@1.41.1-1"
                }
            ],
            "aliases": [
                "CVE-2021-39164",
                "GHSA-3x4c-pq33-4w3q",
                "PYSEC-2021-425"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d6yz-j1f9-cfec"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/matrix-synapse@1.40.0-1"
}