Description
Ultralytics has identified a supply chain attack
affecting affecting multiple versions of the ultralytics package.
The compromised versions contained unauthorized code that
downloaded and executed cryptocurrency mining software
when instantiating YOLO models.
This code was injected into the PyPI release artifacts and was not present
in the public GitHub repository.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ultralytics | >= 8.3.41, < 8.3.47 | 8.3.47 | PYSEC-2024-154 |
References
- https://inspector.pypi.io/project/ultralytics/8.3.41/packages/d0/99/13d92174aa6a470d348a95e31164769f2cdf77838ea3c3e3fd476285777d/ultralytics-8.3.41-py3-none-any.whl/ultralytics/utils/downloads.py#line.284 evidence
- https://github.com/ultralytics/ultralytics/pull/18020#issuecomment-2525180194 web
- https://github.com/ultralytics/ultralytics/issues/18027 report
- https://github.com/ultralytics/ultralytics/pull/18052 fix
- https://github.com/ultralytics/ultralytics/pull/18111 fix
- https://github.com/ultralytics/ultralytics/releases/tag/v8.3.48 fix
- https://blog.yossarian.net/2024/12/06/zizmor-ultralytics-injection article