GitHub Advisoryadvisory · PyPI

GHSA-4f92-w438-f484 CraftBeerPi 4 allows arbitrary code execution

CRITICAL Published 2024-05-02 Modified 2026-10-27 Official page ↗
Aliases
CVE-2024-3955
Ecosystem
PyPI
Packages
cbpi4
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2024-07-05

Affected packages

• PyPI cbpi4: >= 4.0.0.58, < 4.4.1.a1 → fixed in 4.4.1.a1

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 arbitrary code execution. This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).

Related

Alias · CVE (1)

  • CVE-2024-3955 URL GET parameter "logtime" utilized within the "downloadlog" function from "cbpi/http_endpoints/http_system.py" is subsequently passed to… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References