GHSA-hgc3-hp6x-wpgx

Suggest an improvement
Source
https://github.com/advisories/GHSA-hgc3-hp6x-wpgx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-hgc3-hp6x-wpgx/GHSA-hgc3-hp6x-wpgx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hgc3-hp6x-wpgx
Aliases
Published
2021-11-03T17:36:22Z
Modified
2024-09-04T21:01:34.018755Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Antilles Dependency Confusion Vulnerability
Details

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

Database specific
{
    "nvd_published_at": "2021-11-12T22:15:00Z",
    "cwe_ids": [
        "CWE-427"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-11-03T15:04:04Z"
}
References

Affected packages

PyPI / antilles-tools

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1

Affected versions

1.*

1.0.0