CVE-2024-3955 Arbitrary code execution in CraftBeerPi 4
CriticalCVSS 9.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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 to execute arbitrary code.This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).
Upgrade path
4 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| CraftBeerPi - Brewing Controller CraftBeerPi 4 | >= 4.0.0.58 (commit 563fae9) | No fix listed | No fix yet |
| PiBrewing CraftBeerPi 4(PyPI) | >= 4.0.0.58 (commit 563fae9), < 4.4.1.a1 (commit 57572c7) | 4.4.1.a1 (commit 57572c7) | Fixed |
| pypi cbpi4(PyPI) | = 4.0.5; = 4.0.5a13; = 4.0.5a14; = 4.0.5a15 +27 more | 4.4.1.a1 | Fixed |
| PiBrewing CraftBeerPi 4 | = 4.0.0.58 (commit 563fae9) | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cbpi4(PyPI) | >= 4.0.0.58, < 4.4.1.a1 | 4.4.1.a1 |
| pypi cbpi4(PyPI) | = 4.0.5 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.5a13 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.5a14 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.5a15 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.5a16 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.6 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.7 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.7rc1 | No fix listed |
| pypi cbpi4(PyPI) | = 4.0.7rc3 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0a2 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0a3 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0rc1 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0rc2 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0rc5 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.0rc8 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.10 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.10rc2 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.11 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.2 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.6 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.7 | No fix listed |
| pypi cbpi4(PyPI) | = 4.1.7rc1 | No fix listed |
| pypi cbpi4(PyPI) | = 4.2.0 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cbpi4(PyPI) | = 4.2.0a6 | No fix listed |
| pypi cbpi4(PyPI) | = 4.2.0rc1 | No fix listed |
| pypi cbpi4(PyPI) | = 4.3.0 | No fix listed |
| pypi cbpi4(PyPI) | = 4.3.1 | No fix listed |
| pypi cbpi4(PyPI) | = 4.3.2 | No fix listed |
| pypi cbpi4(PyPI) | = 4.4.0 | No fix listed |
| PiBrewing CraftBeerPi 4(PyPI) | >= 4.0.0.58 (commit 563fae9), < 4.4.1.a1 (commit 57572c7) | 4.4.1.a1 (commit 57572c7) |
| CraftBeerPi - Brewing Controller CraftBeerPi 4 | >= 4.0.0.58 (commit 563fae9) | No fix listed |
| PiBrewing CraftBeerPi 4 | = 4.0.0.58 (commit 563fae9) | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- cert.pl third-party-advisory
- cert.pl third-party-advisory
- github.com product
- github.com
- pypi.org product
- github.com vendor-advisory