CVE-2023-28635: Defining resource name as integer may give unintended access in vantage6
(updated )
Malicious users may try to get access to resources they are not allowed to see, by creating resources with integers as names.
One example where this is a risk, is when users define which users are allowed to run algorithms on their node. This may be defined by username or user id. Now, for example, if user id 13 is allowed to run tasks, and an attacker creates a username with username ‘13’, they would be wrongly allowed to run an algorithm.
There may also be other places in the code where such a mixup of resource ID or name leads to issues. The best solution we see is therefore to check when resources are created or modified, that the resource name always starts with a character.
References
- github.com/advisories/GHSA-7x94-6g2m-3hp2
- github.com/pypa/advisory-database/tree/main/vulns/vantage6-node/PYSEC-2023-198.yaml
- github.com/vantage6/vantage6
- github.com/vantage6/vantage6/blob/0682c4288f43fee5bcc72dc448cdd99bd7e57f76/docs/release_notes.rst
- github.com/vantage6/vantage6/commit/aacfc24548cbf168579d2e13b2ddaf8ded715d36
- github.com/vantage6/vantage6/pull/744
- github.com/vantage6/vantage6/security/advisories/GHSA-7x94-6g2m-3hp2
- nvd.nist.gov/vuln/detail/CVE-2023-28635
Detect and mitigate CVE-2023-28635 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →