Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.metersphere/metersphere
  4. ›
  5. CVE-2022-46178

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

December 29, 2022 (updated January 5, 2023)

MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testing and performance testing. Versions prior to 2.5.1 allow users to upload a file, but do not validate the file name, which may lead to upload file to any path. The vulnerability has been fixed in v2.5.1. There are no workarounds.

References

  • github.com/advisories/GHSA-9p62-x3c5-hr5p
  • github.com/metersphere/metersphere/blob/v2.5.0/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/FileUtils.java
  • github.com/metersphere/metersphere/releases/tag/v2.5.1
  • github.com/metersphere/metersphere/security/advisories/GHSA-9p62-x3c5-hr5p
  • nvd.nist.gov/vuln/detail/CVE-2022-46178

Code Behaviors & Features

Detect and mitigate CVE-2022-46178 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 2.5.1

Fixed versions

  • 2.5.1

Solution

Upgrade to version 2.5.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/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/io.metersphere/metersphere/CVE-2022-46178.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:38 +0000.