CVE-2024-5124

Source
https://cve.org/CVERecord?id=CVE-2024-5124
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5124.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-5124
Published
2024-06-06T19:16:03.863Z
Modified
2026-04-10T05:14:47.838213Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

A timing attack vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, specifically within the password comparison logic. The vulnerability is present in version 20240310 of the software, where passwords are compared using the '=' operator in Python. This method of comparison allows an attacker to guess passwords based on the timing of each character's comparison. The issue arises from the code segment that checks a password for a particular username, which can lead to the exposure of sensitive information to an unauthorized actor. An attacker exploiting this vulnerability could potentially guess user passwords, compromising the security of the system.

References

Affected packages

Git / github.com/gaizhenbiao/chuanhuchatgpt

Affected ranges

Type
GIT
Repo
https://github.com/gaizhenbiao/chuanhuchatgpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "20240628"
        }
    ]
}

Affected versions

Other
20230303
20230305
20230317
20230320
20230323
20230327
20230330
20230409
20230413
20230417
20230422
20230427
20230502
20230507
20230513
20230526
20230601
20230614
20230619
20230628
20230709
20230719
20230728
20230809
20230820
20230830
20230911
20230916
20230926
20231006
20231020
20231110
20231215
20231223
20240121
20240305
20240310
20240410

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5124.json"