Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.glassfish.main.web/web
  4. ›
  5. CVE-2022-2712

CVE-2022-2712: Relative Path Traversal

January 27, 2023 (updated January 28, 2023)

In Eclipse GlassFish versions 5.1.0 to 6.2.5, there is a vulnerability in relative path traversal because it does not filter request path starting with ‘./’. Successful exploitation could allow an remote unauthenticated attacker to access critical data, such as configuration files and deployed application source code.

References

  • bugs.eclipse.org/580502
  • github.com/advisories/GHSA-3g5w-6pw7-6hrp
  • github.com/eclipse-ee4j/glassfish/pull/24077
  • nvd.nist.gov/vuln/detail/CVE-2022-2712

Code Behaviors & Features

Detect and mitigate CVE-2022-2712 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 5.1.0 before 7.0.0

Fixed versions

  • 7.0.0

Solution

Upgrade to version 7.0.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.glassfish.main.web/web/CVE-2022-2712.yml

Spotted a mistake? Edit the file on GitLab.

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

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