Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-5982

9.8 · CRITICAL
Published Oct 29, 2024 gaizhenbiao CWE-22 EPSS 30.96% (98th pctl)

Overview

CVE-2024-5982 is a critical-severity vulnerability affecting gaizhenbiao chuanhuchatgpt. It was published on October 29, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

A path traversal vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability arises from unsanitized input handling in multiple features, including user upload, directory creation, and template loading. Specifically, the load_chat_history function in modules/models/base_model.py allows arbitrary file uploads, potentially leading to remote code execution (RCE). The get_history_names function in utils.py permits arbitrary directory creation. Additionally, the load_template function in utils.py can be exploited to leak the first column of CSV files. These issues stem from improper sanitization of user inputs concatenated with directory paths using os.path.join.

Remediation

Check the references section for vendor advisories and patches from gaizhenbiao. Update chuanhuchatgpt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gaizhenbiao chuanhuchatgpt >= 0, < 20240918 Affected

Frequently Asked Questions

What is CVE-2024-5982?

CVE-2024-5982 is a critical-severity vulnerability affecting gaizhenbiao chuanhuchatgpt. It was published on October 29, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-5982?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-5982?

Check the references section for vendor advisories and patches from gaizhenbiao. Update chuanhuchatgpt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-5982?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-5982 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.