CVE-2024-3955
CRITICAL 9.8CVSS 3.1CraftBeerPi 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 to execute arbitrary code.This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).
- Published
- 2 May 2024
- Last modified
- 27 Oct 2026
- Assigned by
- cvd@cert.pl
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-4f92-w438-f484PYSEC-2026-308
- Sources
- NVDJSONOSV GHSA-4f92-w438-f484JSONOSV PYSEC-2026-308JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | cbpi4 | >= 4.0.0.58, < 4.4.1.a1 | 4.4.1.a1 |
References
- 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/issues/132 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-3955 · ADVISORY
- 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, PACKAGE
- https://github.com/advisories/GHSA-4f92-w438-f484 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 2 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 May 2024)