Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/214548?format=api",
    "purl": "pkg:apk/alpine/spamassassin@3.4.2-r0?arch=ppc64le&distroversion=v3.10&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "spamassassin",
    "version": "3.4.2-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.10",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.4.3-r0",
    "latest_non_vulnerable_version": "3.4.5-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4574?format=api",
            "vulnerability_id": "VCID-8uvd-99gz-p7ad",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-11781.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-11781.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-11781",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48779",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48915",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48934",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48919",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-11781"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11781",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11781"
                },
                {
                    "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",
                            "scoring_elements": "CVSS:3.0/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=1629536",
                    "reference_id": "1629536",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1629536"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908971",
                    "reference_id": "908971",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908971"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201812-07",
                    "reference_id": "GLSA-201812-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201812-07"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2916",
                    "reference_id": "RHSA-2018:2916",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2916"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3811-1/",
                    "reference_id": "USN-3811-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3811-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3811-3/",
                    "reference_id": "USN-3811-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3811-3/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/214548?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.2-r0?arch=ppc64le&distroversion=v3.10&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.2-r0%3Farch=ppc64le&distroversion=v3.10&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-11781"
            ],
            "risk_score": 3.8,
            "exploitability": "0.5",
            "weighted_severity": "7.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8uvd-99gz-p7ad"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3072?format=api",
            "vulnerability_id": "VCID-kjbd-g9vm-5ba7",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-15705.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/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-2017-15705.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15705",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83061",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83122",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83131",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83127",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15705"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15705",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15705"
                },
                {
                    "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",
                            "scoring_elements": "CVSS:3.0/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=1629521",
                    "reference_id": "1629521",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1629521"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908969",
                    "reference_id": "908969",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908969"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201812-07",
                    "reference_id": "GLSA-201812-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201812-07"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2916",
                    "reference_id": "RHSA-2018:2916",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2916"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3811-1/",
                    "reference_id": "USN-3811-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3811-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3811-2/",
                    "reference_id": "USN-3811-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3811-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/214548?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.2-r0?arch=ppc64le&distroversion=v3.10&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.2-r0%3Farch=ppc64le&distroversion=v3.10&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-15705"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kjbd-g9vm-5ba7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/907?format=api",
            "vulnerability_id": "VCID-svgu-1zx4-duhx",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-1238.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-1238.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-1238",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00317",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55214",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00317",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55336",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00317",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55352",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00317",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55338",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-1238"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6185",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6185"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:L/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "6.7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/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=1355695",
                    "reference_id": "1355695",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1355695"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201701-75",
                    "reference_id": "GLSA-201701-75",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-75"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201812-07",
                    "reference_id": "GLSA-201812-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201812-07"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/214548?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.2-r0?arch=ppc64le&distroversion=v3.10&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.2-r0%3Farch=ppc64le&distroversion=v3.10&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-1238"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "6.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-svgu-1zx4-duhx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.2-r0%3Farch=ppc64le&distroversion=v3.10&reponame=main"
}