Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/521152?format=api",
    "purl": "pkg:apk/alpine/spamassassin@3.4.3-r0?arch=s390x&distroversion=v3.9&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "spamassassin",
    "version": "3.4.3-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.9",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73609?format=api",
            "vulnerability_id": "VCID-5rd3-xtxh-y7g8",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-11805.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-11805.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-11805",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08395",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08437",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08491",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.0841",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08482",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.085",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08493",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08474",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.0846",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08353",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0003",
                            "scoring_system": "epss",
                            "scoring_elements": "0.08337",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-11805"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11805",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11805"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12420",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12420"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1784974",
                    "reference_id": "1784974",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1784974"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946652",
                    "reference_id": "946652",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946652"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1077",
                    "reference_id": "AVG-1077",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1077"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4625",
                    "reference_id": "RHSA-2020:4625",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4625"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4237-1/",
                    "reference_id": "USN-4237-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4237-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4237-2/",
                    "reference_id": "USN-4237-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4237-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/521152?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.3-r0?arch=s390x&distroversion=v3.9&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.3-r0%3Farch=s390x&distroversion=v3.9&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-11805"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5rd3-xtxh-y7g8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73611?format=api",
            "vulnerability_id": "VCID-pk9z-qnug-jbh7",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12420.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12420.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12420",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94215",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94277",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94257",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94272",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94225",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94237",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94239",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94248",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94252",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.13675",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94256",
                            "published_at": "2026-04-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12420"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11805",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11805"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12420",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12420"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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=1784984",
                    "reference_id": "1784984",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1784984"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946653",
                    "reference_id": "946653",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946653"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1077",
                    "reference_id": "AVG-1077",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1077"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3973",
                    "reference_id": "RHSA-2020:3973",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3973"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4625",
                    "reference_id": "RHSA-2020:4625",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4625"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4237-1/",
                    "reference_id": "USN-4237-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4237-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4237-2/",
                    "reference_id": "USN-4237-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4237-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/521152?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.3-r0?arch=s390x&distroversion=v3.9&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.3-r0%3Farch=s390x&distroversion=v3.9&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2019-12420"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pk9z-qnug-jbh7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.3-r0%3Farch=s390x&distroversion=v3.9&reponame=main"
}