GitHub Advisoryadvisory · PyPI
GHSA-4f92-w438-f484 CraftBeerPi 4 allows arbitrary code execution
CRITICAL
Official page ↗
- Aliases
- CVE-2024-3955
- Ecosystem
- PyPI
- Packages
- cbpi4
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2024-07-05
Affected packages
• PyPI cbpi4: >= 4.0.0.58, < 4.4.1.a1 → fixed in 4.4.1.a1
Description
URL GET parameter "logtime" utilized within the "downloadlog" function from "cbpi/http_endpoints/http_system.py" is subsequently passed to the "os.system" function in "cbpi/controller/system_controller.py" without prior validation allowing arbitrary code execution. This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).
Related
Alias · CVE (1)
- CVE-2024-3955 URL GET parameter "logtime" utilized within the "downloadlog" function from "cbpi/http_endpoints/http_system.py" is subsequently passed to… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-3955 advisory
- https://github.com/PiBrewing/craftbeerpi4/issues/132 web
- https://cert.pl/en/posts/2024/05/CVE-2024-3955 web
- https://cert.pl/posts/2024/05/CVE-2024-3955 web
- https://github.com/PiBrewing/craftbeerpi4 package
- https://github.com/pypa/advisory-database/tree/main/vulns/cbpi4/PYSEC-2026-308.yaml web
- https://pypi.org/project/cbpi4 web