CVE-2024-5124

published 6 Jun 2024 · updated 20 May 2025

Timing Attack Vulnerability 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 20240628.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gaizhenbiao<2024062820240628

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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