Share
## https://sploitus.com/exploit?id=191B6B6E-8EC3-52B9-A5B9-EFEE401EB124
# 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 (`detect-cve-2024-3094.sh`) to your Linux system.
2. Open a terminal and navigate to the directory containing the script.
3. Make the script executable with the command:
   ```bash
   chmod +x detect-cve-2024-3094.sh
4. Run the script as root (or with sudo) using the command:
   ```bash
   sudo ./detect-cve-2024-3094.sh