{"answers":{"affected":"3 open source packages ship an affected version, including github.com/1Panel-dev/1Panel. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37477 exists.","fix":"Upgrade github.com/1Panel-dev/1Panel to 1.4.3 or later.","what":"CVE-2023-37477 is a high-severity command injection vulnerability in 1Panel-dev 1Panel, published on 18 Jul 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37477 and fix it if it is affected.\n\nWhat it is: CVE-2023-37477 is a high-severity command injection vulnerability in 1Panel-dev 1Panel, published on 18 Jul 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37477 exists.\n\nAffected packages and fixed versions:\n- github.com/1Panel-dev/1Panel (Go): affected all versions; fixed in 1.4.3\n- github.com/1Panel-dev/1Panel (Go): affected all versions; fixed in 1.4.3\n- github.com/1Panel-dev/1Panel (Go): affected all versions; fixed in 1.4.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-37477/ (Markdown: https://insights.sbomify.com/CVE-2023-37477/index.md)","id":"CVE-2023-37477","markdown":"https://insights.sbomify.com/CVE-2023-37477/index.md","name":"CVE-2023-37477","record":{"aliases":["GHSA-p9xf-74xh-mhw5","GO-2023-1940"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux server management panel","requires_auth":"high_privilege","summary":"Authenticated attackers can execute arbitrary system commands via the firewall IP endpoint, leading to full system compromise.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"1panel","vendor":"fit2cloud"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"1Panel is an open source Linux server operation and maintenance management panel. An OS command injection vulnerability exists in 1Panel firewall functionality. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make an authenticated HTTP request to trigger this vulnerability. 1Panel firewall functionality `/hosts/firewall/ip` endpoint read user input without validation, the attacker extends the default functionality of the application, which execute system commands. An attacker can execute arbitrary code on the target system, which can lead to a complete compromise of the system. This issue has been addressed in commit `e17b80cff49` which is included in release version `1.4.3`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in firewall ip functionality in 1Panel","id":"CVE-2023-37477","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"pnpm incorrectly parses tar archives relative to specification","id":"CVE-2023-37478"},"packages":[{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel","purl":null,"source":"GHSA-p9xf-74xh-mhw5"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","source":"GHSA-p9xf-74xh-mhw5"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/1Panel-dev/1Panel","purl":"pkg:golang/github.com/1Panel-dev/1Panel","source":"GO-2023-1940"}],"prev":{"headline":"Zip slip in OpenRefine","id":"CVE-2023-37476"},"products":["1Panel"],"published":"2023-07-18","related":[{"cvss_score":10,"headline":"1Panel SQL injection","id":"CVE-2024-39911","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":9.8,"headline":"a sqlinjection in 1Panel","id":"CVE-2024-39907","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2025-56413","kev_date_added":null,"published":"2025-09-10"},{"cvss_score":8.1,"headline":"1Panel Agent Bypasses Certificate Verification Leading to Arbitrary Command Execution","id":"CVE-2025-54424","kev_date_added":null,"published":"2025-08-01"},{"cvss_score":7.5,"headline":"1Panel – CAPTCHA Bypass via Client-Controlled Flag","id":"CVE-2025-66507","kev_date_added":null,"published":"2025-12-09"},{"cvss_score":7.5,"headline":"1Panel O\u0026M management panel has a background arbitrary file reading vulnerability","id":"CVE-2023-39964","kev_date_added":null,"published":"2023-08-10"},{"cvss_score":7.5,"headline":"1Panel arbitrary file write vulnerability exists in the background","id":"CVE-2023-39966","kev_date_added":null,"published":"2023-08-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-18","vendors":["1Panel-dev"]},"summary":"Authenticated attackers can execute arbitrary system commands via the firewall IP endpoint, leading to full system compromise.","url":"https://insights.sbomify.com/CVE-2023-37477/"}