Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/40804?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40804?format=api", "vulnerability_id": "VCID-11u2-56qq-cye4", "summary": "SQL Injection\nAn issue was discovered in Dolibarr `expensereport/card.php` in the expense reports module allows SQL injection via the `integer` parameters `qty` and `value_unit`.", "aliases": [ { "alias": "CVE-2018-16809" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55371?format=api", "purl": "pkg:composer/dolibarr/dolibarr@7.0.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@7.0.1" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/57539?format=api", "purl": "pkg:composer/dolibarr/dolibarr@3.8.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-11u2-56qq-cye4" }, { "vulnerability": "VCID-9xkp-4t9p-eqbb" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@3.8.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/55370?format=api", "purl": "pkg:composer/dolibarr/dolibarr@7.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-11u2-56qq-cye4" }, { "vulnerability": "VCID-9xkp-4t9p-eqbb" }, { "vulnerability": "VCID-qrcg-mnfa-k7gv" }, { "vulnerability": "VCID-zjqj-1zrx-yqh6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/dolibarr/dolibarr@7.0.0" } ], "references": [ { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16809", "reference_id": "CVE-2018-16809", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16809" } ], "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": 89, "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component." }, { "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-11u2-56qq-cye4" }