CVE-2024-7962

published 29 Oct 2024 · updated 29 Oct 2024

Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 20240918.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gaizhenbiao<2024091820240918

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-7962 severity on Zeptric[![CVE-2024-7962](https://zeptric.io/badge/cve/CVE-2024-7962.svg)](https://zeptric.io/cve/CVE-2024-7962)