Malicious code in tpmcedtool (PyPI)
Summary
MAL-2023-7255: Malicious code in tpmcedtool (PyPI). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
tpmcedtool is a package available on PyPI that provides tools for managing Trusted Platform Module (TPM) devices. It is commonly used in systems that require secure hardware-based cryptographic operations. However, this package has been found to contain malicious code, which poses a significant security risk to systems that use it.
Vulnerability Detail
The tpmcedtool package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in tpmcedtool allows an attacker to gain unauthorized access to sensitive information, compromise the integrity of the system, and potentially perform unauthorized actions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpmcedtool
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. The best course of action is to follow the steps mentioned in the 'how_to_fix' section.
Conclusion
The tpmcedtool package available on PyPI has been found to contain malicious code, posing a significant security risk. It is crucial to take immediate action to remove the compromised package and replace it with a trusted version. Regularly updating and monitoring packages is essential to prevent such vulnerabilities in the future. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for tpmcedtool →
FAQ
tpmcedtool is a package used for managing Trusted Platform Module (TPM) devices. It provides tools for secure hardware-based cryptographic operations.
The tpmcedtool package was compromised by the EsqueleSquad group, who published malicious versions of the package on PyPi.
This vulnerability can lead to unauthorized access to sensitive information, compromise the integrity of the system, and enable unauthorized actions.
To protect your system, it is recommended to remove the compromised tpmcedtool package and replace it with a trusted version. Regularly updating and monitoring packages is also crucial.
Yes, the fix involves removing the compromised tpmcedtool package and replacing it with a trusted version.