Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/559084?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/559084?format=api", "purl": "pkg:gem/image_processing@1.9.1", "type": "gem", "namespace": "", "name": "image_processing", "version": "1.9.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.12.2", "latest_non_vulnerable_version": "1.12.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42542?format=api", "vulnerability_id": "VCID-9qmg-2rkc-wqgq", "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nPrior to version 1.12.2, using the `#apply` method from image_processing to apply a series of operations that are coming from unsanitized user input allows the attacker to execute shell commands.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24720", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00875", "scoring_system": "epss", "scoring_elements": "0.75634", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00875", "scoring_system": "epss", "scoring_elements": "0.75668", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00875", "scoring_system": "epss", "scoring_elements": "0.75642", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00875", "scoring_system": "epss", "scoring_elements": "0.75655", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00875", "scoring_system": "epss", "scoring_elements": "0.75665", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00875", "scoring_system": "epss", "scoring_elements": "0.75662", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24720" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24720", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24720" }, { "reference_url": "https://github.com/janko/image_processing", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/janko/image_processing" }, { "reference_url": "https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:37:38Z/" } ], "url": "https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada" }, { "reference_url": "https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:37:38Z/" } ], "url": "https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/image_processing/CVE-2022-24720.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/image_processing/CVE-2022-24720.yml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24720", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24720" }, { "reference_url": "https://www.debian.org/security/2022/dsa-5310", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:37:38Z/" } ], "url": "https://www.debian.org/security/2022/dsa-5310" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007225", "reference_id": "1007225", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007225" }, { "reference_url": "https://github.com/advisories/GHSA-cxf7-qrc5-9446", "reference_id": "GHSA-cxf7-qrc5-9446", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-cxf7-qrc5-9446" }, { "reference_url": "https://usn.ubuntu.com/6675-1/", "reference_id": "USN-6675-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/6675-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60819?format=api", "purl": "pkg:gem/image_processing@1.12.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/image_processing@1.12.2" } ], "aliases": [ "CVE-2022-24720", "GHSA-cxf7-qrc5-9446" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9qmg-2rkc-wqgq" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/image_processing@1.9.1" }