Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/52376?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/52376?format=api", "purl": "pkg:gem/paperclip@4.3.6", "type": "gem", "namespace": "", "name": "paperclip", "version": "4.3.6", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "5.2.0", "latest_non_vulnerable_version": "5.2.0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37922?format=api", "vulnerability_id": "VCID-7u74-jkq2-pygf", "summary": "It's possible to cause a DoS by uploading files with a spoofed media type, because it causes megabytes of logging to be written.", "references": [ { "reference_url": "https://github.com/thoughtbot/paperclip/pull/2017", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/thoughtbot/paperclip/pull/2017" }, { "reference_url": "https://github.com/thoughtbot/paperclip/pull/2126", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/thoughtbot/paperclip/pull/2126" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52376?format=api", "purl": "pkg:gem/paperclip@4.3.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.3.6" } ], "aliases": [ "GMS-2015-32" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7u74-jkq2-pygf" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/paperclip@4.3.6" }