Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/40611?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40611?format=api", "vulnerability_id": "VCID-4pg6-hqge-wkcb", "summary": "File REST resource does not properly validate\nThe file REST resource does not properly validate some fields when manipulating files. the file REST resource is enabled and allows PATCH requests, and an attacker can get or register a user account on the site with permissions to upload files and to modify the file resource.", "aliases": [ { "alias": "CVE-2017-6921" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/56328?format=api", "purl": "pkg:composer/drupal/core@8.3.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.3.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/56327?format=api", "purl": "pkg:composer/drupal/drupal@8.3.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.3.4" } ], "affected_packages": [], "references": [ { "reference_url": "https://www.drupal.org/SA-CORE-2017-003", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.drupal.org/SA-CORE-2017-003" } ], "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-4pg6-hqge-wkcb" }