MAL-2024-11568 Malicious code in cryptograohy (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: kam193 (67095679f8af3205e005b17a996da2ba17789715d7c66e4fcf31d8c387b85c00)
The pyprettifier library has a feature to send out the user home path throuh the logger. It's attached to the init of EmojiConverter class. Other related packages utilize a typosquatting to imitate real packages, and attempts to call the EmojiConverter from pyprettifier, triggering notifying the author about the user's home path.
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: 2024-09-pyprettifier
Reasons (based on the campaign):
-
typosquatting
-
The malicious code is intentionally included in a dependency of the package
-
action-hidden-in-lib-usage
-
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
Source: ossf-package-analysis (69c9f05e42e277434eb37e4dddb268f3144eb27cb1de261c86cd396f7b1c9d14)
The OpenSSF Package Analysis project identified 'cryptograohy' @ 0.5.6 (pypi) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi cryptograohy(PyPI) | = 0.5.6; = 0.5.7; = 0.5.8; = 0.5.9 +10 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cryptograohy(PyPI) | = 0.5.6 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.5.7 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.5.8 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.5.9 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.0 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.1 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.2 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.3 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.4 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.7 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.7.0 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.7.1 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.5 | No fix listed |
| pypi cryptograohy(PyPI) | = 0.6.6 | No fix listed |