Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/38584?format=api
{ "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.", "aliases": [ { "alias": "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" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53536?format=api", "purl": "pkg:gem/rubocop@0.48.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-ffst-cueq-qkbp" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rubocop@0.48.1" } ], "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" } ], "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": 668, "name": "Exposure of Resource to Wrong Sphere", "description": "The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource." }, { "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-ffst-cueq-qkbp" }