Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-convention-plugin
  4. ›
  5. CVE-2016-6795

CVE-2016-6795: Path Traversal

September 20, 2017 (updated August 12, 2019)

In the Convention plugin in Apache Struts, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.

References

  • www.securityfocus.com/bid/93773
  • nvd.nist.gov/vuln/detail/CVE-2016-6795
  • struts.apache.org/docs/s2-042.html

Code Behaviors & Features

Detect and mitigate CVE-2016-6795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.3.20 up to 2.3.20.3, all versions starting from 2.3.21 up to 2.3.24.3, all versions starting from 2.3.25 up to 2.3.28.1, all versions starting from 2.3.29 up to 2.3.30

Fixed versions

  • 2.3.31

Solution

Upgrade to version 2.3.31 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.struts/struts2-convention-plugin/CVE-2016-6795.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:21 +0000.