Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/939748?format=api",
    "purl": "pkg:deb/debian/spamassassin@3.4.5~pre1-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "spamassassin",
    "version": "3.4.5~pre1-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.4.6-1",
    "latest_non_vulnerable_version": "4.0.2+svn1933012-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33753?format=api",
            "vulnerability_id": "VCID-5b74-77zm-3qbs",
            "summary": "A vulnerability in SpamAssassin might allow remote attackers to\n    execute arbitrary commands.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-1946.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-1946.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1946",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8104",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81139",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81141",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81142",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81049",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81072",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.811",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81107",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81124",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8111",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81103",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1946"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1946",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1946"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1943276",
                    "reference_id": "1943276",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1943276"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985962",
                    "reference_id": "985962",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985962"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1731",
                    "reference_id": "AVG-1731",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1731"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202105-26",
                    "reference_id": "GLSA-202105-26",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202105-26"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4315",
                    "reference_id": "RHSA-2021:4315",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4315"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4899-1/",
                    "reference_id": "USN-4899-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4899-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4899-2/",
                    "reference_id": "USN-4899-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4899-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939748?format=api",
                    "purl": "pkg:deb/debian/spamassassin@3.4.5~pre1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@3.4.5~pre1-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939737?format=api",
                    "purl": "pkg:deb/debian/spamassassin@3.4.6-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@3.4.6-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939735?format=api",
                    "purl": "pkg:deb/debian/spamassassin@4.0.1-1~deb12u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@4.0.1-1~deb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939739?format=api",
                    "purl": "pkg:deb/debian/spamassassin@4.0.1-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@4.0.1-5%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939738?format=api",
                    "purl": "pkg:deb/debian/spamassassin@4.0.2-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@4.0.2-4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1067632?format=api",
                    "purl": "pkg:deb/debian/spamassassin@4.0.2%2Bsvn1933012-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@4.0.2%252Bsvn1933012-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2020-1946"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5b74-77zm-3qbs"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/spamassassin@3.4.5~pre1-1%3Fdistro=trixie"
}