Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/465485?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/465485?format=api", "purl": "pkg:apk/alpine/openjpeg@2.3.0-r3?arch=x86&distroversion=v3.19&reponame=main", "type": "apk", "namespace": "alpine", "name": "openjpeg", "version": "2.3.0-r3", "qualifiers": { "arch": "x86", "distroversion": "v3.19", "reponame": "main" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.3.1-r3", "latest_non_vulnerable_version": "2.5.0-r0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/96790?format=api", "vulnerability_id": "VCID-p1sr-72we-ekaa", "summary": "In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5785.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.3", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5785.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-5785", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00779", "scoring_system": "epss", "scoring_elements": "0.7403", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00779", "scoring_system": "epss", "scoring_elements": "0.74063", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00779", "scoring_system": "epss", "scoring_elements": "0.74037", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00779", "scoring_system": "epss", "scoring_elements": "0.74068", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00779", "scoring_system": "epss", "scoring_elements": "0.74054", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-5785" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17480", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17480" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14423", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14423" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18088", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18088" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5785", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5785" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6616", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6616" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "4", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/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=1537758", "reference_id": "1537758", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1537758" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888533", "reference_id": "888533", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888533" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:4251", "reference_id": "RHSA-2021:4251", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:4251" }, { "reference_url": "https://usn.ubuntu.com/4109-1/", "reference_id": "USN-4109-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4109-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/465485?format=api", "purl": "pkg:apk/alpine/openjpeg@2.3.0-r3?arch=x86&distroversion=v3.19&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/openjpeg@2.3.0-r3%3Farch=x86&distroversion=v3.19&reponame=main" } ], "aliases": [ "CVE-2018-5785" ], "risk_score": 1.5, "exploitability": "0.5", "weighted_severity": "3.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p1sr-72we-ekaa" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/openjpeg@2.3.0-r3%3Farch=x86&distroversion=v3.19&reponame=main" }