CVE-2023-47631: Vantage6 server Vantage6-server Node Accepts Non-whitelisted Algorithms Vulnerability
HIGHCVE-2023-47631 is a HIGH (CVSS 7.2) vantage6-server node accepts non-whitelisted algorithms vulnerability (CWE-358: Improperly Implemented Security Check for Standard) affecting Vantage6 server libraries in the PyPI ecosystem. The issue involves vantage6-server node accepts non-whitelisted algorithms from malicious server. Remediation is available by upgrading affected packages to version 4.1.2.
CVE-2023-47631 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-47631
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.
pip install vantage6-server>=4.1.2
pip install vantage6-node>=4.1.2
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-2023-47631, 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.1.2), 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-358: Improperly Implemented Security Check for Standard, where the product does not implement or incorrectly implements one or more security-relevant checks as specified by the design of a standardized algorithm, protocol, or technique. 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
CVE-2023-47631 Affected Vantage6 server Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vantage6-server
|
PyPI |
< 4.1.2
|
4.1.2
|
|
vantage6-node
|
PyPI |
< 4.1.2
|
4.1.2
|
References
Frequently Asked Questions
What is CVE-2023-47631?
Which Vantage6 server versions are affected?
What version fixes CVE-2023-47631?
Is vantage6-server affected?
Is vantage6-node affected?
What is the CVSS score of CVE-2023-47631?
What CWE is associated with CVE-2023-47631?
How can I check PyPI dependencies for CVE-2023-47631?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vc3v-ppc7-v486",
"modified" : "2024-11-22T20:43:06Z",
"published" : "2023-11-14T22:21:57Z",
"aliases" : [ "CVE-2023-47631" ],
"summary" : "vantage6-server node accepts non-whitelisted algorithms from malicious server",
"details" : "### Impact\nA node does not check if an image is allowed to run if a `parent_id` is set. A malicious party that breaches the server may modify it to set a fake `parent_id` and send a task of a non-whitelisted algorithm. The node will then execute it because the `parent_id` that is set prevents checks from being run. Relevant node code [here](https://github.com/vantage6/vantage6/blob/version/4.1.1/vantage6-node/vantage6/node/docker/docker_manager.py#L265-L268)\n\nThis impacts all servers that are breached by an expert user\n\n### Patches\nFixed in v4.1.2\n\n### Workarounds\nNone\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vantage6-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "vantage6-node"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/security/advisories/GHSA-vc3v-ppc7-v486"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-47631"
}, {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/commit/bf83521eb12fa80aa5fc92ef1692010a9a7f8243"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-node/PYSEC-2023-303.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-server/PYSEC-2023-304.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vantage6/vantage6"
}, {
"type" : "WEB",
"url" : "https://github.com/vantage6/vantage6/blob/version/4.1.1/vantage6-node/vantage6/node/docker/docker_manager.py#L265-L268"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345", "CWE-358" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-14T22:21:57Z",
"nvd_published_at" : "2023-11-14T21:15:13Z"
}
}