Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/58178?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/58178?format=api", "purl": "pkg:gem/chartkick@3.2.0", "type": "gem", "namespace": "", "name": "chartkick", "version": "3.2.0", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "3.2.0", "latest_non_vulnerable_version": "3.2.0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41062?format=api", "vulnerability_id": "VCID-6465-pmgh-fkcd", "summary": "Cross-site Scripting\nThe Chartkick gem for Ruby allows XSS.", "references": [ { "reference_url": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md" }, { "reference_url": "https://github.com/ankane/chartkick/issues/488", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/ankane/chartkick/issues/488" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-12732", "reference_id": "CVE-2019-12732", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-12732" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/58178?format=api", "purl": "pkg:gem/chartkick@3.2.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/chartkick@3.2.0" } ], "aliases": [ "CVE-2019-12732" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6465-pmgh-fkcd" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/chartkick@3.2.0" }