Advisory

PYSEC-2024-154

Also known as: None

Summary

A number of releases of ultralytics contained malicious crypto miner software.

Details

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.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Dates

Published
2024-12-10 19:19 UTC
Modified
2026-06-28 22:30 UTC

Affected packages and fixes

ultralytics

PyPI · All systems

Affected

  • introduced 8.3.41, fixed 8.3.47 (ecosystem)

Fixed versions

8.3.47

Fix

  • Fixed version 8.3.47
    pip install --upgrade ultralytics==8.3.47

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences