pypi · Malicious package advisory
Malwareasn1tool
GHSA-6vgp-mcf8-jhmx
Malicious code in asn1tool (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.167.0` ## Source: kam193 (2f9270a5372d17332c32e8824c44dab167a1f2a78ebc5a204e090ac4487a0f31) Package clones a legitimate package. In the call to check the current version, the obfuscated remote code is downloaded and executed. It appears to be an infostealer --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-11-asn1tool Reasons (based on the campaign): - obfuscation - dependency-confusion - typosquatting - clones-real-package - infostealer --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/asn1tool/MAL-2024-11530.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/asn1tool - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/asn1tool/MAL-2024-11530.json - https://github.com/advisories/GHSA-6vgp-mcf8-jhmx
Compromised versions (1)
- = 0.167.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.