Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/37458?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37458?format=api", "vulnerability_id": "VCID-xd9a-gdh3-97ar", "summary": "CSRF protection bypass\nThe token check mechanism in this package does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.", "aliases": [ { "alias": "CVE-2012-4386" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/51299?format=api", "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.4.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-dvxu-9sh6-qbef" }, { "vulnerability": "VCID-z1jy-4da2-tyhk" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.4.1" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/51175?format=api", "purl": "pkg:maven/org.apache.struts/struts2-core@2-alpha0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1exe-1vfk-f7bn" }, { "vulnerability": "VCID-1kjb-use6-23eu" }, { "vulnerability": "VCID-4x3k-a11x-7bee" }, { "vulnerability": "VCID-84ge-vq7u-j3ar" }, { "vulnerability": "VCID-89az-256b-mubw" }, { "vulnerability": "VCID-e78f-s5z5-qkgs" }, { "vulnerability": "VCID-emya-8et9-n7a9" }, { "vulnerability": "VCID-kc4z-fnyk-tkdu" }, { "vulnerability": "VCID-kcy9-3d45-23b1" }, { "vulnerability": "VCID-kmqa-hsqy-muf1" }, { "vulnerability": "VCID-wsvw-qwt7-qbg1" }, { "vulnerability": "VCID-xd9a-gdh3-97ar" }, { "vulnerability": "VCID-z6wr-3psx-dbfm" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2-alpha0" }, { "url": "http://public2.vulnerablecode.io/api/packages/51298?format=api", "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-kcy9-3d45-23b1" }, { "vulnerability": "VCID-xd9a-gdh3-97ar" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.4" } ], "references": [ { "reference_url": "http://struts.apache.org/docs/s2-010.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://struts.apache.org/docs/s2-010.html" } ], "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": 352, "name": "Cross-Site Request Forgery (CSRF)", "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request." }, { "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-xd9a-gdh3-97ar" }