cbpi4
Affected
- introduced
4.0.0.58, fixed4.4.1.a1(ecosystem)
Fixed versions
4.4.1.a1
Fix
- Fixed version
4.4.1.a1pip install --upgrade cbpi4==4.4.1.a1
Advisory
Also known as: CVE-2024-3955, GHSA-4f92-w438-f484
CraftBeerPi 4 allows arbitrary code execution
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).
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0.0.58, fixed 4.4.1.a1 (ecosystem)4.4.1.a1
4.4.1.a1pip install --upgrade cbpi4==4.4.1.a1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0