CVE-2024-21671: Vantage6 server Vantage6 Vulnerable To Username Timing Vulnerability

LOW
Advisory Identifier: GHSA-45gq-q4xh-cp53
CVSS 3.7
CWE-208
Published
Advisory Summary

CVE-2024-21671 is a LOW (CVSS 3.7) vantage6 vulnerable to username timing vulnerability (CWE-208: Observable Timing Discrepancy) affecting Vantage6 server libraries in the PyPI ecosystem. The issue involves vantage6 vulnerable to username timing attack. Remediation is available by upgrading affected packages to version 4.2.0.

CVE-2024-21671 at a Glance

CVE Identifier CVE-2024-21671
GHSA Identifier GHSA-45gq-q4xh-cp53
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-208: Observable Timing Discrepancy
Affected Product Vantage6 server
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-21671

To remediate this vulnerability, upgrade all affected Vantage6 server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

vantage6-server fixed: 4.2.0
pip install vantage6-server>=4.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show vantage6-server

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2024-21671, inspect your installed packages using pip:

pip show vantage6-server

Analyze the terminal output to locate any version of Vantage6 server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.0), your application is affected.

Note: The pip show vantage6-server command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In Vantage6 server, 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

### Impact It is possible to find out usernames from the response time of login requests. This could aid attackers in credential attacks ### Workarounds No

CVE-2024-21671 Affected Vantage6 server Versions

1 component(s)
Fixed Versions:
4.2.0
Product / Package Ecosystem Affected Versions Fixed Version
vantage6-server
PyPI
< 4.2.0
4.2.0

References

Frequently Asked Questions

What is CVE-2024-21671?
CVE-2024-21671 is a security vulnerability in Vantage6 server involving vantage6 vulnerable to username timing attack under CWE-208: Observable Timing Discrepancy.
Which Vantage6 server versions are affected?
Affected versions include releases prior to 4.2.0 across affected packages: vantage6-server.
What version fixes CVE-2024-21671?
Upgrading to 4.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vantage6-server affected?
Yes, vantage6-server is affected in releases prior to 4.2.0. Upgrade your dependency to 4.2.0 or later.
What is the CVSS score of CVE-2024-21671?
CVE-2024-21671 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-21671?
CVE-2024-21671 is classified under CWE-208: Observable Timing Discrepancy (Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.).
How can I check PyPI dependencies for CVE-2024-21671?
Run the dependency tree command: 'pip show vantage6-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-45gq-q4xh-cp53",
  "modified" : "2024-02-08T22:48:56Z",
  "published" : "2024-01-30T20:56:48Z",
  "aliases" : [ "CVE-2024-21671" ],
  "summary" : "vantage6 vulnerable to username timing attack",
  "details" : "### Impact\nIt is possible to find out usernames from the response time of login requests. This could aid attackers in credential attacks\n\n### Workarounds\nNo\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vantage6-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-45gq-q4xh-cp53"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-21671"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vantage6/vantage6/commit/389f416c445da4f2438c72f34c3b1084485c4e30"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6/PYSEC-2024-31.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vantage6/vantage6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-208" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-30T20:56:48Z",
    "nvd_published_at" : "2024-01-30T16:15:48Z"
  }
}