Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-3955 EUVD-2024-1411GHSA-4f92-w438-f484PYSEC-2026-308

Arbitrary code execution in CraftBeerPi 4

Published May 2, 2024 · Updated Aug 1, 2024 · Assigned by CERT-PL

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).

Affected products

VendorProductAffectedFixed
PiBrewing CraftBeerPi 4 4.0.0.58 (commit 563fae9) – < 4.4.1.a1 (commit 57572c7) 4.4.1.a1 (commit 57572c7)
CraftBeerPi - Brewing Controller CraftBeerPi 4 — —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cbpi4 >= 4.0.0.58, < 4.4.1.a1 4.4.1.a1 GHSA-4f92-w438-f484

References