Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/1Panel-dev/1Panel
  4. ›
  5. CVE-2023-39964

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

August 10, 2023

1Panel is an open source Linux server operation and maintenance management panel. In version 1.4.3, arbitrary file reads allow an attacker to read arbitrary important configuration files on the server. In the api/v1/file.go file, there is a function called LoadFromFile, which directly reads the file by obtaining the requested path parameter[path]. The request parameters are not filtered, resulting in a background arbitrary file reading vulnerability. Version 1.5.0 has a patch for this issue.

References

  • github.com/1Panel-dev/1Panel/releases/tag/v1.5.0
  • github.com/1Panel-dev/1Panel/security/advisories/GHSA-pv7q-v9mv-9mh5
  • github.com/advisories/GHSA-pv7q-v9mv-9mh5
  • nvd.nist.gov/vuln/detail/CVE-2023-39964

Code Behaviors & Features

Detect and mitigate CVE-2023-39964 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

Version 1.4.3

Fixed versions

  • v1.5.0

Solution

Upgrade to version 1.5.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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/1Panel-dev/1Panel/CVE-2023-39964.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:58 +0000.