Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53537?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53537?format=api", "purl": "pkg:gem/rubocop@0.49.0", "type": "gem", "namespace": "", "name": "rubocop", "version": "0.49.0", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38584?format=api", "vulnerability_id": "VCID-ffst-cueq-qkbp", "summary": "Insecure use of /tmp\nRuboCop does not use `/tmp` in safe way, allowing local users to exploit this to tamper with cache files belonging to other users.", "references": [ { "reference_url": "https://github.com/bbatsov/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/bbatsov/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7" }, { "reference_url": "https://github.com/bbatsov/rubocop/issues/4336", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/bbatsov/rubocop/issues/4336" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-8418", "reference_id": "CVE-2017-8418", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-8418" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53537?format=api", "purl": "pkg:gem/rubocop@0.49.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rubocop@0.49.0" } ], "aliases": [ "CVE-2017-8418" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ffst-cueq-qkbp" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rubocop@0.49.0" }