Code Injection in Gerapy - CVE-2021-43857

 

Code Injection in Gerapy - CVE-2021-43857

Published: December 27, 2021 / Updated: November 25, 2026


Vulnerability identifier: #VU170083
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-43857
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the system running Gerapy.

The vulnerability exists due to unsafe input handling in Gerapy's project_configure function when processing project configuration requests. A remote user can submit crafted input to the project configuration feature to execute arbitrary code.


Affected software

Gerapy

How to mitigate CVE-2021-43857

Install security update from vendor's website.

Gerapy - update to 0.9.8

Links to Public Exploits and PoC-codes

External References