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

CVE-2024-2352: 1Panel is vulnerable to command injection

March 10, 2024 (updated March 11, 2024)

1Panel is vulnerable to command injection. This vulnerability has been classified as critical, has been found in 1Panel up to 1.10.1-lts. Affected by this issue is the function baseApi.UpdateDeviceSwap of the file /api/v1/toolbox/device/update/swap. The manipulation of the argument Path with the input 123123123\nopen -a Calculator leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-256304.

References

  • github.com/1Panel-dev/1Panel
  • github.com/1Panel-dev/1Panel/pull/4131
  • github.com/1Panel-dev/1Panel/pull/4131
  • github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c
  • github.com/advisories/GHSA-x2vg-5wrf-vj6v
  • nvd.nist.gov/vuln/detail/CVE-2024-2352
  • vuldb.com/?ctiid.256304
  • vuldb.com/?id.256304

Code Behaviors & Features

Detect and mitigate CVE-2024-2352 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.10.1-lts

Fixed versions

  • 1.10.1-lts

Solution

Upgrade to version 1.10.1-lts or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

go/github.com/1Panel-dev/1Panel/CVE-2024-2352.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:56 +0000.