CVE-2024-7962
7.5
HIGH
CVSS 3.1
EPSS 0.41%
Description
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.
How to fix CVE-2024-7962
To remediate CVE-2024-7962, upgrade the affected package to a fixed version below.
- —upgrade to 2836fd1db3efcd5ede63c0e7fbbdf677730dbb51 or later
Is CVE-2024-7962 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2836fd1db3efcd5ede63c0e7fbbdf677730dbb51 | from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |