Arbitrary code execution in CraftBeerPi 4
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PiBrewing | CraftBeerPi 4 | 4.0.0.58 (commit 563fae9) to before 4.4.1.a1 (commit 57572c7) | 4.4.1.a1 (commit 57572c7) | Patch available | CNA |
| — | cbpi4 (PyPI) | 4.0.0.58 to before 4.4.1.a1 | 4.4.1.a1 | Patch available | GHSA-4f92-w438-f484 |
- CraftBeerPi 4 VendorPiBrewing Affected 4.0.0.58 (commit 563fae9) to before 4.4.1.a1 (commit 57572c7) Fixed in 4.4.1.a1 (commit 57572c7) Patch available CNA
- cbpi4 (PyPI) Vendor— Affected 4.0.0.58 to before 4.4.1.a1 Fixed in 4.4.1.a1 Patch available GHSA-4f92-w438-f484
Remediation
- Fix · CNA CraftBeerPi 4 (PiBrewing) Fixed in 4.4.1.a1 (commit 57572c7)
- Fix · GHSA-4f92-w438-f484 cbpi4 (PyPI) Fixed in 4.4.1.a1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-3955
- 2026-10-03 Alias added: GHSA-4f92-w438-f484
References
Advisory 3
Other 6
Sources
- CVE-2024-3955 · CVE Program
- CVE-2024-3955 · NVD
- FIRST EPSS
- GHSA-4f92-w438-f484 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences