{"id":"GHSA-44hv-jjx7-qfjg","summary":"Path Traversal in Apache Struts","details":"In Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side. This vulnerability is only exploitable when using the Struts 2 Convention plugin in conjunction with Apache Struts.","aliases":["CVE-2016-6795"],"modified":"2024-02-19T05:33:06.499462Z","published":"2022-05-14T00:54:13Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-11-03T22:48:46Z","nvd_published_at":"2017-09-20T17:29:00Z","cwe_ids":["CWE-22"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6795"},{"type":"WEB","url":"https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab"},{"type":"WEB","url":"https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20180629-0003"},{"type":"WEB","url":"https://struts.apache.org/docs/s2-042.html"},{"type":"WEB","url":"https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773"}],"affected":[{"package":{"name":"org.apache.struts:struts2-convention-plugin","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-convention-plugin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.31"}]}],"versions":["2.3.1","2.3.1.1","2.3.1.2","2.3.12","2.3.14","2.3.14.1","2.3.14.2","2.3.14.3","2.3.15","2.3.15.1","2.3.15.2","2.3.15.3","2.3.16","2.3.16.1","2.3.16.2","2.3.16.3","2.3.20","2.3.20.1","2.3.20.3","2.3.24","2.3.24.1","2.3.24.3","2.3.28","2.3.28.1","2.3.29","2.3.3","2.3.30","2.3.4","2.3.4.1","2.3.7","2.3.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-44hv-jjx7-qfjg/GHSA-44hv-jjx7-qfjg.json"}},{"package":{"name":"org.apache.struts:struts2-convention-plugin","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-convention-plugin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.5"}]}],"versions":["2.5","2.5.1","2.5.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-44hv-jjx7-qfjg/GHSA-44hv-jjx7-qfjg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}