CVE-2024-3955 json
Arbitrary code execution in CraftBeerPi 4
published 2024-05-02 2 y ago modified 2026-10-27 12 d ago also GHSA-4f92-w438-f484 , PYSEC-2026-308 , EUVD-2024-1411
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
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).
Patch / fix
- pypi cbpi4 4.4.1.a1
- PiBrewing CraftBeerPi 4 4.4.1.a1 (commit 57572c7)
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.15% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cbpi4 | >=4.0.0.58, <4.4.1.a1 |
4.4.1.a1 |
Affected products
- PiBrewing CraftBeerPi 4
- CraftBeerPi - Brewing Controller CraftBeerPi 4
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
cert.pl
/en/posts/2024/05/CVE-2024-3955/
third-party-advisory
-
cert.pl
/posts/2024/05/CVE-2024-3955/
third-party-advisory
-
github.com
/PiBrewing/craftbeerpi4/issues/132
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-3955
advisory
-
cert.pl
/en/posts/2024/05/CVE-2024-3955
web
-
cert.pl
/posts/2024/05/CVE-2024-3955
web
-
github.com
/PiBrewing/craftbeerpi4
package
-
github.com
/pypa/advisory-database/tree/main/vulns/cbpi4/PYSEC-2026-308.yaml
web
-
pypi.org
/project/cbpi4
web, package
-
github.com
/advisories/GHSA-4f92-w438-f484
advisory
Sources
- CVE List CVE-2024-3955
- GitHub Advisory GHSA-4f92-w438-f484
- NVD CVE-2024-3955
- OSV PYSEC-2026-308
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.