Malicious code in tpstrrandomint (PyPI)
Summary
MAL-2023-7629: Malicious code in tpstrrandomint (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
The tpstrrandomint package is an open-source Python package available on PyPI. It is designed to generate random integers using a specific algorithm. The package is commonly used in various Python applications and libraries.
Vulnerability Detail
A vulnerability has been identified in the tpstrrandomint package. The vulnerability originates from a malicious code injection in the package's source code. This code can execute spyware and information-stealing malware on the affected system. The malicious code was discovered by the Checkmarx security team. The impact of this vulnerability can be severe, potentially leading to unauthorized access to sensitive information and compromise of the affected system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpstrrandomint
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 known workaround for this vulnerability. It is crucial to update the package to the patched version to mitigate the risk of exploitation.
Conclusion
The tpstrrandomint package has been found to contain malicious code that can execute spyware and information-stealing malware. It is crucial to update to the latest version of the package, which has been patched to remove the malicious code. Failure to update may result in unauthorized access to sensitive information and compromise of the affected system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for tpstrrandomint →
FAQ
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this specific issue.
The consequences of this vulnerability can be severe. The malicious code injected into tpstrrandomint can execute spyware and information-stealing malware, leading to unauthorized access to sensitive information and compromise of the affected system.
Yes, the package maintainers have released a patched version of tpstrrandomint that removes the malicious code. It is crucial to update to the latest version to ensure the vulnerability is mitigated.
There have been reports of the malicious code in tpstrrandomint being used to execute spyware and information-stealing malware. It is essential to update the package to the patched version to protect against potential exploitation.
This vulnerability was discovered by the Checkmarx security team. They identified the malicious code injection in the tpstrrandomint package and reported it to the package maintainers.