Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/171663?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/171663?format=api", "purl": "pkg:gem/measured@2.0.0.pre1", "type": "gem", "namespace": "", "name": "measured", "version": "2.0.0.pre1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.2.1", "latest_non_vulnerable_version": "3.2.1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51618?format=api", "vulnerability_id": "VCID-e3qq-h95c-akgz", "summary": "Measured is vulnerable to Path Traversal attacks during class initialization\n### Impact\n\nA path traversal vulnerability exists where an attacker\nwith access to manipulate inputs when initializing the\n`Measured::Cache::Json class` would be able to instruct\nthe library to read arbitrary files.\n\n### Patches\n\nUsers should update to the latest version.", "references": [ { "reference_url": "https://github.com/Shopify/measured", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.9", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Shopify/measured" }, { "reference_url": "https://github.com/Shopify/measured/commit/d6319985a2304d97c085e3dc45c98af554f4be76", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.9", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Shopify/measured/commit/d6319985a2304d97c085e3dc45c98af554f4be76" }, { "reference_url": "https://github.com/Shopify/measured/security/advisories/GHSA-29g5-m8v7-v564", "reference_id": "", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "4.9", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Shopify/measured/security/advisories/GHSA-29g5-m8v7-v564" }, { "reference_url": "https://github.com/advisories/GHSA-29g5-m8v7-v564", "reference_id": "GHSA-29g5-m8v7-v564", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-29g5-m8v7-v564" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/85744?format=api", "purl": "pkg:gem/measured@3.2.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/measured@3.2.1" } ], "aliases": [ "GHSA-29g5-m8v7-v564" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e3qq-h95c-akgz" } ], "fixing_vulnerabilities": [], "risk_score": "3.1", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/measured@2.0.0.pre1" }