Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/104534?format=api",
    "purl": "pkg:rpm/redhat/openjpeg2@2.3.1-2?arch=el7_7",
    "type": "rpm",
    "namespace": "redhat",
    "name": "openjpeg2",
    "version": "2.3.1-2",
    "qualifiers": {
        "arch": "el7_7"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/81676?format=api",
            "vulnerability_id": "VCID-7ath-fa35-5uca",
            "summary": "openjpeg: Heap-based buffer overflow in opj_t1_clbl_decode_processor()",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-6851.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-6851.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-6851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80621",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80873",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80811",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80829",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80629",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80651",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80646",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80674",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80684",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.807",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80687",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80679",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80713",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80716",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80739",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80743",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80757",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80774",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80796",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01434",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80816",
                            "published_at": "2026-05-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-6851"
                },
                {
                    "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.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/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=1790511",
                    "reference_id": "1790511",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1790511"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950000",
                    "reference_id": "950000",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950000"
                },
                {
                    "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-6851",
                    "reference_id": "CVE-2020-6851",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-6851"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0262",
                    "reference_id": "RHSA-2020:0262",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0262"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0274",
                    "reference_id": "RHSA-2020:0274",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0274"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0296",
                    "reference_id": "RHSA-2020:0296",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0296"
                },
                {
                    "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-6851"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7ath-fa35-5uca"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openjpeg2@2.3.1-2%3Farch=el7_7"
}