CVE-2023-23929: Vantage6 Vantage6 Refresh Tokens Do Not Vulnerability
HIGHCVE-2023-23929 is a HIGH (CVSS 8.8) vantage6 refresh tokens do not vulnerability (CWE-613: Insufficient Session Expiration) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves vantage6 refresh tokens do not expire. Remediation is available by upgrading affected packages to version 3.8.0.
CVE-2023-23929 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-23929
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>=3.8.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-2023-23929, 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 3.8.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-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". 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-2023-23929 Affected Vantage6 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vantage6
|
PyPI |
< 3.8.0
|
3.8.0
|
References
Frequently Asked Questions
What is CVE-2023-23929?
Which Vantage6 versions are affected?
What version fixes CVE-2023-23929?
Is vantage6 affected?
What is the CVSS score of CVE-2023-23929?
What CWE is associated with CVE-2023-23929?
How can I check PyPI dependencies for CVE-2023-23929?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4w59-c3gc-rrhp",
"modified" : "2024-11-18T23:10:57Z",
"published" : "2023-02-28T23:20:05Z",
"aliases" : [ "CVE-2023-23929" ],
"summary" : "vantage6 refresh tokens do not expire",
"details" : "From issue: \n\nProblem description\nCurrently, the refresh token is valid indefinitely. This is bad security practice.\n\nDesired solution\nThe refresh token should get a validity of 24-48 hours.\n\nAdditional context\n\nWhen implementing this, also check that the refresh token returns a new refresh token\nWhen implementing this, also adapt the UI so that it logs out if refresh token is no longer valid.\nWhen implementing this, ensure that nodes refresh their token periodically so that they do not have to be restarted manually.\n\n\n### Impact\n### Patches\nNone available \n\n### Workarounds\nNone available\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vantage6"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-4w59-c3gc-rrhp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-23929"
}, {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/commit/48ebfca42359e9a6743e9598684585e2522cdce8"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6/PYSEC-2023-54.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vantage6/vantage6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-28T23:20:05Z",
"nvd_published_at" : "2023-03-04T00:15:00Z"
}
}