CVE-2024-24770: Vantage6 Vantage6 Vulnerable To A Username Vulnerability
MODERATECVE-2024-24770 is a MODERATE (CVSS 5.3) vantage6 vulnerable to a username vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves vantage6 vulnerable to a username timing attack on recover password/mfa token. Remediation is available by upgrading affected packages to version 4.3.0.
CVE-2024-24770 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-24770
To remediate this vulnerability, upgrade all affected Vantage6 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install vantage6>=4.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show vantage6
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-24770, inspect your installed packages using pip:
pip show vantage6
Analyze the terminal output to locate any version of Vantage6 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.0), your application is affected.
Note: The pip show vantage6 command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Vantage6, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-24770 Affected Vantage6 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vantage6
|
PyPI |
< 4.3.0
|
4.3.0
|
References
Frequently Asked Questions
What is CVE-2024-24770?
Which Vantage6 versions are affected?
What version fixes CVE-2024-24770?
Is vantage6 affected?
What is the CVSS score of CVE-2024-24770?
What CWE is associated with CVE-2024-24770?
How can I check PyPI dependencies for CVE-2024-24770?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5h3x-6gwf-73jm",
"modified" : "2024-03-15T16:44:36Z",
"published" : "2024-03-15T16:44:36Z",
"aliases" : [ "CVE-2024-24770" ],
"summary" : "vantage6 vulnerable to a username timing attack on recover password/MFA token",
"details" : "### Impact\nMuch like https://github.com/vantage6/vantage6/security/advisories/GHSA-45gq-q4xh-cp53, it is possible to find which usernames exist in vantage6 by calling the API routes `/recover/lost` and `/2fa/lost`, which send emails to users if they have lost their password or MFA token. Usernames can be found by assessing response time differences, and additionally, they can be found because the endpoint gives a response \"Failed to login\" if the username exists.\n\n### Patches\nNo\n\n### Workarounds\nNo",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vantage6"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.3.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-45gq-q4xh-cp53"
}, {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-5h3x-6gwf-73jm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-24770"
}, {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/commit/aecfd6d0e83165a41a60ebd52d2287b0217be26b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vantage6/vantage6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-208", "CWE-362" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-15T16:44:36Z",
"nvd_published_at" : "2024-03-14T19:15:49Z"
}
}