{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-3955","assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","state":"PUBLISHED","assignerShortName":"CERT-PL","dateReserved":"2024-04-18T15:36:37.809Z","datePublished":"2024-05-02T09:43:51.941Z","dateUpdated":"2024-08-01T20:26:57.228Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://pypi.org/project/cbpi4/","defaultStatus":"unaffected","product":"CraftBeerPi 4","repo":"https://github.com/PiBrewing/craftbeerpi4","vendor":"PiBrewing","versions":[{"lessThan":"4.4.1.a1 (commit 57572c7)","status":"affected","version":"4.0.0.58 (commit 563fae9)","versionType":"custom"}]},{"defaultStatus":"unaffected","product":"CraftBeerPi 4","repo":"https://github.com/craftbeerpi/craftbeerpi4","vendor":"CraftBeerPi - Brewing Controller","versions":[{"lessThanOrEqual":"*","status":"affected","version":"4.0.0.58 (commit 563fae9)","versionType":"git"}]}],"credits":[{"lang":"en","type":"finder","value":"Pondzik"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<p>This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).</p>"}],"value":"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"}],"impacts":[{"capecId":"CAPEC-242","descriptions":[{"lang":"en","value":"CAPEC-242 Code Injection"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","shortName":"CERT-PL","dateUpdated":"2024-05-02T09:43:51.941Z"},"references":[{"tags":["third-party-advisory"],"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":["issue-tracking"],"url":"https://github.com/PiBrewing/craftbeerpi4/issues/132"}],"source":{"discovery":"UNKNOWN"},"title":"Arbitrary code execution in CraftBeerPi 4","x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-3955","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-02T17:35:00.248697Z"}}}],"affected":[{"cpes":["cpe:2.3:a:pibrewing:craftbeerpi_4:4.0.0.58:*:*:*:*:*:*:*"],"vendor":"PiBrewing","product":"CraftBeerPi 4","versions":[{"status":"affected","version":"4.0.0.58 (commit 563fae9)"}],"defaultStatus":"unknown"}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:31:57.493Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T20:26:57.228Z"},"title":"CVE Program Container","references":[{"tags":["third-party-advisory","x_transferred"],"url":"https://cert.pl/en/posts/2024/05/CVE-2024-3955/"},{"tags":["third-party-advisory","x_transferred"],"url":"https://cert.pl/posts/2024/05/CVE-2024-3955/"},{"tags":["issue-tracking","x_transferred"],"url":"https://github.com/PiBrewing/craftbeerpi4/issues/132"}]}]}}