Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.shiro/shiro-core
  4. ›
  5. CVE-2023-46749

CVE-2023-46749: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

January 15, 2024 (updated January 22, 2024)

Apache Shiro before 1.130 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting

Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure blockSemicolon is enabled (this is the default).

References

  • github.com/advisories/GHSA-jc7h-c423-mpjc
  • lists.apache.org/thread/mdv7ftz7k4488rzloxo2fb0p9shnp9wm
  • nvd.nist.gov/vuln/detail/CVE-2023-46749

Code Behaviors & Features

Detect and mitigate CVE-2023-46749 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 before 1.13.0, all versions starting from 2.0.0alpha1 before 2.0.0alpha4

Fixed versions

  • 1.13.0
  • 2.0.0-alpha4

Solution

Upgrade to versions 1.13.0, 2.0.0-alpha4 or above. *Note*: 2.0.0-alpha4 may be an unstable version. Use caution.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.shiro/shiro-core/CVE-2023-46749.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:02 +0000.