# CVE-2024-3094-detect
## XZ Utils Vulnerability Check and Downgrade Script

This script is designed to check the version of XZ Utils installed on your Linux system and downgrade it to a safe version if necessary. It also detects the Linux distribution and the package manager used.

## Features

- Checks the installed version of XZ Utils and identifies if it's vulnerable.
- Detects the Linux distribution (Fedora, Debian, openSUSE, Kali Linux).
- Downgrades XZ Utils to a safe version if needed.

## Prerequisites

- Bash shell (most Linux distributions come with Bash pre-installed).
- Superuser (root) privileges to perform the downgrade operation.

## Usage

1. Download the script (``) to your Linux system.
2. Open a terminal and navigate to the directory containing the script.
3. Make the script executable with the command:
   chmod +x
4. Run the script as root (or with sudo) using the command:
   sudo ./