Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/38792?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38792?format=api", "vulnerability_id": "VCID-bb6n-nq7v-8qex", "summary": "Improper Input Validation\nRubyGems fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.", "aliases": [ { "alias": "CVE-2017-0901" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54036?format=api", "purl": "pkg:gem/rubygems-update@2.6.13", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-c7rs-vbjr-nyfz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rubygems-update@2.6.13" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54035?format=api", "purl": "pkg:gem/rubygems-update@2.6.12", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-68hc-d8u1-yye5" }, { "vulnerability": "VCID-bb6n-nq7v-8qex" }, { "vulnerability": "VCID-br82-gd5d-pqew" }, { "vulnerability": "VCID-nd17-pxzx-nyba" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rubygems-update@2.6.12" } ], "references": [ { "reference_url": "http://blog.rubygems.org/2017/08/27/2.6.13-released.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://blog.rubygems.org/2017/08/27/2.6.13-released.html" }, { "reference_url": "https://www.exploit-db.com/exploits/42611/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.exploit-db.com/exploits/42611/" }, { "reference_url": "http://www.securityfocus.com/bid/100580", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/100580" }, { "reference_url": "http://www.securitytracker.com/id/1039249", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securitytracker.com/id/1039249" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0901", "reference_id": "CVE-2017-0901", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0901" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 20, "name": "Improper Input Validation", "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bb6n-nq7v-8qex" }