Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/100305?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/100305?format=api", "purl": "pkg:rpm/redhat/openjpeg2@2.4.0-5?arch=el8", "type": "rpm", "namespace": "redhat", "name": "openjpeg2", "version": "2.4.0-5", "qualifiers": { "arch": "el8" }, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13537?format=api", "vulnerability_id": "VCID-xh3j-ufru-6fby", "summary": "Access of Uninitialized Pointer\nA flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1122.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-1122.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1122", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00052", "scoring_system": "epss", "scoring_elements": "0.16208", "published_at": "2026-05-07T12:55:00Z" }, { "value": "0.00052", "scoring_system": "epss", "scoring_elements": "0.16373", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.00052", "scoring_system": "epss", "scoring_elements": "0.16267", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.00052", "scoring_system": "epss", "scoring_elements": "0.16263", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.00052", "scoring_system": "epss", "scoring_elements": "0.16222", "published_at": "2026-04-29T12:55:00Z" }, { "value": "0.00052", "scoring_system": "epss", "scoring_elements": "0.16093", "published_at": "2026-05-05T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17819", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17896", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17852", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17804", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17747", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17756", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17813", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17881", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17976", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.18031", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00057", "scoring_system": "epss", "scoring_elements": "0.17732", "published_at": "2026-04-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1122" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1122", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1122" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/uclouvain/openjpeg/issues/1368", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/uclouvain/openjpeg/issues/1368" }, { "reference_url": "https://github.com/uclouvain/openjpeg/pull/1369", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/uclouvain/openjpeg/pull/1369" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROSN5NRUFOH7HGLJ4ZSKPGAKLFXJALW4/" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2067052", "reference_id": "2067052", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2067052" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1122", "reference_id": "CVE-2022-1122", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1122" }, { "reference_url": "https://security.gentoo.org/glsa/202209-04", "reference_id": "GLSA-202209-04", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/202209-04" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:7645", "reference_id": "RHSA-2022:7645", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:7645" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:8207", "reference_id": "RHSA-2022:8207", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:8207" }, { "reference_url": "https://usn.ubuntu.com/7083-1/", "reference_id": "USN-7083-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/7083-1/" } ], "fixed_packages": [], "aliases": [ "CVE-2022-1122" ], "risk_score": 2.3, "exploitability": "0.5", "weighted_severity": "4.6", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xh3j-ufru-6fby" } ], "fixing_vulnerabilities": [], "risk_score": "2.3", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openjpeg2@2.4.0-5%3Farch=el8" }