Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/37993?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37993?format=api", "vulnerability_id": "VCID-14sc-5rkp-vqf7", "summary": "Route level CORS config overrides connection level defaults\nWhen server level, connection level or route level CORS configurations are combined and when a higher level config included security restrictions (like origin), a higher level config that included security restrictions (like origin) would have those restrictions overridden by less restrictive defaults (e.g. origin defaults to all origins `*`).", "aliases": [ { "alias": "GMS-2015-57" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52466?format=api", "purl": "pkg:npm/hapi@11.1.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hapi@11.1.4" } ], "affected_packages": [], "references": [ { "reference_url": "https://github.com/hapijs/hapi/issues/2980", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/hapijs/hapi/issues/2980" } ], "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": 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-14sc-5rkp-vqf7" }