vantage6-server node accepts non-whitelisted algorithms from malicious server
GHSA-vc3v-ppc7-v486 · CVE-2023-47631 · PYSEC-2023-303 · PYSEC-2023-304
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
A 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
This impacts all servers that are breached by an expert user
Patches
Fixed in v4.1.2
Workarounds
None
References
- WEB https://github.com/vantage6/vantage6/security/advisories/GHSA-vc3v-ppc7-v486
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-47631
- WEB https://github.com/vantage6/vantage6/commit/bf83521eb12fa80aa5fc92ef1692010a9a7f8243
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-node/PYSEC-2023-303.yaml
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-server/PYSEC-2023-304.yaml
- PACKAGE https://github.com/vantage6/vantage6
- WEB https://github.com/vantage6/vantage6/blob/version/4.1.1/vantage6-node/vantage6/node/docker/docker_manager.py#L265-L268
Ready to move
Start Securing
Free, no credit card | First findings in minutes