
Python script to detect vulnerable xz-utils versions and automatically download and install a stable, patched version to mitigate CVE-2024-3094.
This script is designed to check for vulnerabilities in the installed version of xz-utils on your system. If a vulnerable version is detected, the script offers to automatically download and install a stable version to mitigate potential security risks.
The following components are necessary for the script to run:
requests library (can be installed via pip install requests)tarfile library (included with Python 3)pip install -r requirements.txt (ensure you have requests library installed).python check_xz_vulnerability.py.This script requires administrative privileges to install the new version of xz-utils. You may be prompted for your password if necessary.
This script is provided "as is", without warranty of any kind. Use it at your own risk. The authors are not responsible for any damage or issues that may arise from using this script.
Contributions are welcome. Please create a pull request or open an issue for any bugs or feature requests.
This project is licensed under the MIT License - see the LICENSE file for details.