Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/104280?format=api",
    "purl": "pkg:rpm/redhat/openjpeg2@2.3.1-3?arch=el8_1",
    "type": "rpm",
    "namespace": "redhat",
    "name": "openjpeg2",
    "version": "2.3.1-3",
    "qualifiers": {
        "arch": "el8_1"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/81602?format=api",
            "vulnerability_id": "VCID-mdhg-k4sr-3bg7",
            "summary": "openjpeg: heap-based buffer overflow in pj_t1_clbl_decode_processor in openjp2/t1.c",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8112.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8112.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8112",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82691",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82945",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82893",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82908",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82708",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8272",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82717",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82743",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8275",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82766",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8276",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82756",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82795",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82797",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8282",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82828",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82834",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82854",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82874",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01793",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82895",
                            "published_at": "2026-05-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8112"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15389",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15389"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27814",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27814"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27823",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27823"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27824",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27824"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27841",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27841"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27842",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27842"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27843",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27843"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27845",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27845"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6851"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8112",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8112"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1800535",
                    "reference_id": "1800535",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1800535"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950184",
                    "reference_id": "950184",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950184"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202012-21",
                    "reference_id": "ASA-202012-21",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202012-21"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1339",
                    "reference_id": "AVG-1339",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1339"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8112",
                    "reference_id": "CVE-2020-8112",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8112"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0550",
                    "reference_id": "RHSA-2020:0550",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0550"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0569",
                    "reference_id": "RHSA-2020:0569",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0569"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0570",
                    "reference_id": "RHSA-2020:0570",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0570"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4497-1/",
                    "reference_id": "USN-4497-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4497-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4686-1/",
                    "reference_id": "USN-4686-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4686-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5952-1/",
                    "reference_id": "USN-5952-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5952-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2020-8112"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "7.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mdhg-k4sr-3bg7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openjpeg2@2.3.1-3%3Farch=el8_1"
}