{"id":"CVE-2024-3955","published":"2024-05-02T09:43:51Z","modified":"2024-08-01T20:26:57Z","title":"Arbitrary code execution in CraftBeerPi 4","vendor":"PiBrewing","product":"CraftBeerPi 4","tier":"tail","description":{"text":"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).\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01149,"percentile":0.6763,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://cert.pl/en/posts/2024/05/CVE-2024-3955/","tags":["third-party-advisory"]},{"url":"https://cert.pl/posts/2024/05/CVE-2024-3955/","tags":["third-party-advisory"]},{"url":"https://github.com/PiBrewing/craftbeerpi4/issues/132","tags":["issue-tracking"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":13.53},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"pibrewing","affectedVersions":[{"vendor":"PiBrewing","product":"CraftBeerPi 4","versions":[">= 4.0.0.58 (commit 563fae9), < 4.4.1.a1 (commit 57572c7)"]},{"vendor":"CraftBeerPi - Brewing Controller","product":"CraftBeerPi 4","versions":[">= 4.0.0.58 (commit 563fae9)"]}],"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-05-02T17:35:00.248697Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"cbpi4","vulnerableRanges":[">=4.0.0.58, <4.4.1.a1"],"patched":["4.4.1.a1"],"from":["GHSA-4f92-w438-f484","PYSEC-2026-308"],"provenance":"source"}],"summary":{"text":"Arbitrary code execution exists in CraftBeerPi 4 from PiBrewing, where the \"logtime\" URL GET parameter used by the \"downloadlog\" function in the HTTP endpoints module is passed to an operating system command call in the system controller without validation. An attacker who can reach the CraftBeerPi 4 web interface over the network, with no authentication or user interaction required, can send a crafted request to run arbitrary code on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:48Z"},"euvd":{"id":"EUVD-2024-1411","exploited":false,"provenance":"source"}}