Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/491544?format=api",
    "purl": "pkg:apk/alpine/spamassassin@3.4.4-r0?arch=s390x&distroversion=v3.15&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "spamassassin",
    "version": "3.4.4-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.15",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.4.5-r0",
    "latest_non_vulnerable_version": "3.4.5-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/101169?format=api",
            "vulnerability_id": "VCID-cpgs-5jfe-zqf3",
            "summary": "A command execution issue was found in Apache SpamAssassin prior to 3.4.3. Carefully crafted nefarious Configuration (.cf) files can be configured to run system commands similar to CVE-2018-11805. This issue is less stealthy and attempts to exploit the issue will throw warnings. Thanks to Damian Lukowski at credativ for reporting the issue ethically. With this bug unpatched, exploits can be injected in a number of scenarios though doing so remotely is difficult. In addition to upgrading to SA 3.4.4, we again recommend that users should only use update channels or 3rd party .cf files from trusted places.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-1931.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-2020-1931.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1931",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01095",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78329",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01095",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78355",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.01095",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78364",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.01095",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78354",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01095",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78341",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.01095",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78359",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1931"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1930",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1930"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1931",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1931"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/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=1802975",
                    "reference_id": "1802975",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1802975"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950258",
                    "reference_id": "950258",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950258"
                },
                {
                    "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/4265-1/",
                    "reference_id": "USN-4265-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4265-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4265-2/",
                    "reference_id": "USN-4265-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4265-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/491544?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.4-r0?arch=s390x&distroversion=v3.15&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.4-r0%3Farch=s390x&distroversion=v3.15&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2020-1931"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "6.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cpgs-5jfe-zqf3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/101168?format=api",
            "vulnerability_id": "VCID-regp-69zy-jubu",
            "summary": "A command execution issue was found in Apache SpamAssassin prior to 3.4.3. Carefully crafted nefarious rule configuration (.cf) files can be configured to run system commands similar to CVE-2018-11805. With this bug unpatched, exploits can be injected in a number of scenarios including the same privileges as spamd is run which may be elevated though doing so remotely is difficult. In addition to upgrading to SA 3.4.4, we again recommend that users should only use update channels or 3rd party .cf files from trusted places. If you cannot upgrade, do not use 3rd party rulesets, do not use sa-compile and do not run spamd as an account with elevated privileges.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-1930.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-2020-1930.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1930",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00965",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76904",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00965",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76937",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00965",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76946",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00965",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76934",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00965",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76923",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00965",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76944",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1930"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1930",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1930"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1931",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1931"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/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=1802977",
                    "reference_id": "1802977",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1802977"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950258",
                    "reference_id": "950258",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950258"
                },
                {
                    "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/4265-1/",
                    "reference_id": "USN-4265-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4265-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4265-2/",
                    "reference_id": "USN-4265-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4265-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/491544?format=api",
                    "purl": "pkg:apk/alpine/spamassassin@3.4.4-r0?arch=s390x&distroversion=v3.15&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.4-r0%3Farch=s390x&distroversion=v3.15&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2020-1930"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "6.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-regp-69zy-jubu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/spamassassin@3.4.4-r0%3Farch=s390x&distroversion=v3.15&reponame=main"
}