Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/43830?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43830?format=api", "vulnerability_id": "VCID-4bzw-ges2-d7ek", "summary": "Apache Struts forced double OGNL evaluation\nApache Struts 2.x before 2.3.29 allows remote attackers to execute arbitrary code via a \"%{}\" sequence in a tag attribute, aka forced double OGNL evaluation. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0785.", "aliases": [ { "alias": "CVE-2016-4461" }, { "alias": "GHSA-864w-r5qj-h6fj" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52808?format=api", "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.29", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-dvxu-9sh6-qbef" }, { "vulnerability": "VCID-hrky-nmnv-g3eu" }, { "vulnerability": "VCID-mmth-7rgf-aqfa" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.29" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52634?format=api", "purl": "pkg:maven/org.apache.struts/struts2-core@2.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3bjt-18pc-vfe8" }, { "vulnerability": "VCID-4bzw-ges2-d7ek" }, { "vulnerability": "VCID-7hxh-btrk-skhg" }, { "vulnerability": "VCID-8cmt-z8g9-duf2" }, { "vulnerability": "VCID-9mn7-d2mm-uqay" }, { "vulnerability": "VCID-dbzr-zyeu-73g8" }, { "vulnerability": "VCID-gvwn-8r4r-47gm" }, { "vulnerability": "VCID-mvdz-exud-3ybz" }, { "vulnerability": "VCID-nztp-y8p8-cqc6" }, { "vulnerability": "VCID-q2ad-khtm-nqdr" }, { "vulnerability": "VCID-z1jy-4da2-tyhk" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.0.0" } ], "references": [ { "reference_url": "https://github.com/apache/struts", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/apache/struts" }, { "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0004", "reference_id": "", "reference_type": "", "scores": [], "url": "https://security.netapp.com/advisory/ntap-20180629-0004" }, { "reference_url": "https://struts.apache.org/docs/s2-036.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://struts.apache.org/docs/s2-036.html" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4461", "reference_id": "CVE-2016-4461", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4461" }, { "reference_url": "https://github.com/advisories/GHSA-864w-r5qj-h6fj", "reference_id": "GHSA-864w-r5qj-h6fj", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-864w-r5qj-h6fj" } ], "weaknesses": [ { "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": 74, "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')", "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted 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." }, { "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." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4bzw-ges2-d7ek" }