Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/107405?format=api",
    "purl": "pkg:rpm/redhat/spamassassin@3.4.0-4?arch=el7_5",
    "type": "rpm",
    "namespace": "redhat",
    "name": "spamassassin",
    "version": "3.4.0-4",
    "qualifiers": {
        "arch": "el7_5"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48426?format=api",
            "vulnerability_id": "VCID-11j4-bprs-akfx",
            "summary": "Multiple vulnerabilities have been found in SpamAssassin, the worst\n    of which may lead to remote code execution.",
            "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.82582",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82597",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82612",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82608",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82634",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82642",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8266",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82654",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82649",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82686",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82687",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8269",
                            "published_at": "2026-04-21T12: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": [],
            "aliases": [
                "CVE-2017-15705"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-11j4-bprs-akfx"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48428?format=api",
            "vulnerability_id": "VCID-nknr-wcys-8be7",
            "summary": "Multiple vulnerabilities have been found in SpamAssassin, the worst\n    of which may lead to remote code execution.",
            "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.48433",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48469",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48491",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48444",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48498",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48494",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48518",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48504",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48554",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48549",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48506",
                            "published_at": "2026-04-21T12: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": [],
            "aliases": [
                "CVE-2018-11781"
            ],
            "risk_score": 3.8,
            "exploitability": "0.5",
            "weighted_severity": "7.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nknr-wcys-8be7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.8",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/spamassassin@3.4.0-4%3Farch=el7_5"
}