
This tool is designed to check multiple hosts for vulnerabilities related to CVE-2024-41110 in Docker installations. It specifically looks for vulnerable Docker versions and the use of AuthZ plugins, which can potentially lead to security issues.
pip install fabric)Clone this repository:
git clone https://github.com/vvpoglazov/cve-2024-41110-checker.git
cd cve-2024-41110-checker
Install the required Python library:
pip install fabric
Run the script with the following command:
python cve_2024_41110_checker.py <username> <hosts_file> <output_directory> [-k <key_file>]
<username>: SSH username for connecting to the hosts<hosts_file>: Path to a file containing a list of hostnames or IP addresses (one per line)<output_directory>: Directory where the script will store individual host reports and the summary report-k <key_file>: (Optional) Path to SSH private key file for authenticationExamples:
Using password-based authentication:
python cve_2024_41110_checker.py admin hosts.txt ./reports
Using key-based authentication:
python cve_2024_41110_checker.py admin hosts.txt ./reports -k /path/to/private_key
If you don't provide the -k option, the script will prompt you for the SSH password. Using key-based authentication is recommended for better security, especially in production environments.
The script generates two types of output:
The summary report is both saved to a file and displayed in the console after the script finishes execution.
This tool checks for the following vulnerable Docker versions:
If vulnerable hosts are detected, consider the following remediation steps:
This tool is provided as-is, without any warranties. Always test in a controlled environment before using in production.
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.
https://nvd.nist.gov/vuln/detail/CVE-2024-41110
Vladimir Poglazov - GitHub