CVE-2024-21653: Vantage6 Vantage6 Has Insecure SSH Configuration Vulnerability
MODERATECVE-2024-21653 is a MODERATE (CVSS 6.5) vantage6 has insecure ssh configuration vulnerability (CWE-284: Improper Access Control) affecting Vantage6 libraries in the PyPI ecosystem. The issue involves vantage6 has insecure ssh configuration for node and server containers. Remediation is available by upgrading affected packages to version 4.2.0.
CVE-2024-21653 at a Glance
Security Impact
CVSS: 6.5
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:L/A:N).
How to Fix CVE-2024-21653
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.2.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-21653, 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.2.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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. 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-21653 Affected Vantage6 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vantage6
|
PyPI |
< 4.2.0
|
4.2.0
|
References
Frequently Asked Questions
What is CVE-2024-21653?
Which Vantage6 versions are affected?
What version fixes CVE-2024-21653?
Is vantage6 affected?
What is the CVSS score of CVE-2024-21653?
What CWE is associated with CVE-2024-21653?
How can I check PyPI dependencies for CVE-2024-21653?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2wgc-48g2-cj5w",
"modified" : "2024-02-08T22:48:30Z",
"published" : "2024-01-30T20:56:46Z",
"aliases" : [ "CVE-2024-21653" ],
"summary" : "vantage6 has insecure SSH configuration for node and server containers",
"details" : "### Impact\nNodes and servers get a ssh config by default that permits root login with password authentication. In a proper deployment, the SSH service is not exposed so there is no risk, but not all deployments are ideal. The default should therefore be less permissive.\n\nWe will probably opt to completely remove the ssh option as it is only used for debugging. Later, we can add a debug mode where we can activate it if necessary.\n\n### Workarounds\nRemove the ssh part from the docker file and build your own docker image",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vantage6"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-2wgc-48g2-cj5w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-21653"
}, {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/commit/3fcc6e6a8bd1142fd7a558d8fdd2b246e55c8841"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-server/PYSEC-2024-34.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vantage6/vantage6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-30T20:56:46Z",
"nvd_published_at" : "2024-01-30T16:15:47Z"
}
}