CVE-2021-40324: Arbitrary File Write Operations in Cobbler
Summary
CVE-2021-40324: Cobbler before 3.3.0 allows arbitrary file write operations via upload_log_data. Affects cobbler versions < 3.3.0. Fixed in 3.3.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Cobbler is a PyPI package that provides a network boot and installation server. It is commonly used for managing and provisioning Linux distributions. Cobbler allows administrators to automate the installation and configuration of operating systems on multiple machines simultaneously. This vulnerability, identified as CVE-2021-40324, allows an attacker to perform arbitrary file write operations through the 'upload_log_data' functionality.
Vulnerability Detail
The vulnerability in Cobbler before version 3.3.0 enables an attacker to write arbitrary files on the system by exploiting the 'upload_log_data' feature. This can lead to unauthorized modification of critical files, potentially resulting in remote code execution, privilege escalation, or other malicious activities. The vulnerability has been assigned a severity rating of HIGH (CVSS score not provided). The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-434.
How To Fix
Latest published version: 3.3.10 as of 23 Oct 2026
pip install --upgrade "cobbler==3.3.10"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.3.0
This is the first release that contains the fix.
pip install --upgrade "cobbler==3.3.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No specific workaround has been mentioned for this vulnerability. It is advised to apply the fix by upgrading to the patched version as soon as possible.
Conclusion
In conclusion, the vulnerability (CVE-2021-40324) in Cobbler allows arbitrary file write operations, which can have severe consequences for the affected system. It is crucial to upgrade to Cobbler version 3.3.0 or later to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for cobbler →
FAQ
Cobbler is a PyPI package used for network boot and installation server management.
The vulnerability allows an attacker to write arbitrary files on the system, potentially leading to unauthorized access, code execution, or privilege escalation.
The vulnerability has been assigned a severity rating of HIGH.
Yes, upgrading Cobbler to version 3.3.0 or later fixes this vulnerability.
No specific workarounds have been mentioned. It is recommended to upgrade to the patched version.
Related vulnerabilities
Recent vulnerabilities recorded for cobbler.