CVE-2024-7962 – chuanhuchatgpt
Package
Manager: pip
Name: chuanhuchatgpt
Vulnerable Version: =3.2.5 || >=0 <2836fd1db3efcd5ede63c0e7fbbdf677730dbb51
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0019 pctl0.41136
Details
An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient validation when loading prompt template files. An attacker can read any file that matches specific criteria using an absolute path. The file must not have a .json extension and, except for the first line, every other line must contain commas. This vulnerability allows reading parts of format-compliant files, including code and log files, which may contain highly sensitive information such as account credentials.
Metadata
Created: 2024-10-29T13:15:00Z
Modified: 2024-10-31T19:44:10.888628Z
Source: https://osv-vulnerabilities
CWE IDs: N/A
Alternative ID: N/A
Finding: F123
Auto approve: 1