Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1oZ2MzLWhwNngtd3BneM0W2A
Antilles Dependency Confusion Vulnerability
Potential Impact:
Remote code execution.
Scope of Impact:
Open-source project specific.
Summary Description:
A dependency confusion vulnerability was reported in the Antilles open-source software prior to version 1.0.1 that could allow for remote code execution during installation due to a package listed in requirements.txt not existing in the public package index (PyPi).
MITRE classifies this weakness as an Uncontrolled Search Path Element (CWE-427) in which a private package dependency may be replaced by an unauthorized package of the same name published to a well-known public repository such as PyPi.
The configuration has been updated to only install components built by Antilles, removing all other public package indexes. Additionally, the antilles-tools dependency has been published to PyPi.
Mitigation Strategy for Customers (what you should do to protect yourself):
Remove previous versions of Antilles as a precautionary measure and Update to version 1.0.1 or later.
Acknowledgement:
The Antilles team thanks Kotko Vladyslav for reporting this issue.
References:
https://github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9
Permalink: https://github.com/advisories/GHSA-hgc3-hp6x-wpgxJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oZ2MzLWhwNngtd3BneM0W2A
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Identifiers: GHSA-hgc3-hp6x-wpgx, CVE-2021-3840
References:
- https://github.com/lenovo/Antilles/security/advisories/GHSA-hgc3-hp6x-wpgx
- https://github.com/lenovo/Antilles/commit/c7b9c5740908b343aceefe69733d9972e64df0b9
- https://nvd.nist.gov/vuln/detail/CVE-2021-3840
- https://github.com/advisories/GHSA-hgc3-hp6x-wpgx
Blast Radius: 1.0
Affected Packages
pypi:antilles-tools
Dependent packages: 0Dependent repositories: 0
Downloads: 23 last month
Affected Version Ranges: < 1.0.1
Fixed in: 1.0.1
All affected versions: 1.0.0
All unaffected versions: