CVE-2024-4321: PYSEC-2024-267 - A Local File Inclusion (LFI) vulnerability exists in the gaizhenbiao/chuanhuchatgpt application…

CVE-2024-4321 · Severity: low · CVSS 3 · Published 2024-05-16

A Local File Inclusion (LFI) vulnerability exists in the gaizhenbiao/chuanhuchatgpt application, specifically within the functionality for uploading chat history. The vulnerability arises due to improper input validation when handling file paths during the chat history upload process. An attacker can exploit this vulnerability by intercepting requests and manipulating the 'name' parameter to specify arbitrary file paths. This allows the attacker to read sensitive files on the server, leading to information leakage, including API keys and private information. The issue affects version 20240310 of the application.

Technologies: chuanhuchatgpt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-4321 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-4321 being exploited in the wild.
How severe is CVE-2024-4321?
Low severity, with a CVSS score of 3, published 16 May 2024.
Which products and versions are affected?
chuanhuchatgpt (PyPI) ECOSYSTEM:introduced=0,last_affected=20240310.
Is there a fix for CVE-2024-4321?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-4321?
Check whether you run chuanhuchatgpt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • chuanhuchatgpt (PyPI) ECOSYSTEM:introduced=0,last_affected=20240310

Identifiers

  • CVE-2024-4321
  • PYSEC-2024-267

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.