PYSEC-2024-154
Vulnerability from pysec - Published: 2024-12-10 19:19 - Updated: 2024-12-10 19:20Ultralytics 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.
| Name | purl | ultralytics | pkg:pypi/ultralytics |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "ultralytics",
"purl": "pkg:pypi/ultralytics"
},
"ranges": [
{
"events": [
{
"introduced": "8.3.41"
},
{
"fixed": "8.3.47"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.3.41",
"8.3.42",
"8.3.45",
"8.3.46",
"8.3.43",
"8.3.44"
]
}
],
"details": "Ultralytics has identified a supply chain attack\naffecting affecting multiple versions of the ultralytics package.\nThe compromised versions contained unauthorized code that\ndownloaded and executed cryptocurrency mining software\nwhen instantiating YOLO models.\nThis code was injected into the PyPI release artifacts and was not present\nin the public GitHub repository.\n",
"id": "PYSEC-2024-154",
"modified": "2024-12-10T19:20:27.097505+00:00",
"published": "2024-12-10T19:19:10Z",
"references": [
{
"type": "EVIDENCE",
"url": "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"
},
{
"type": "WEB",
"url": "https://github.com/ultralytics/ultralytics/pull/18020#issuecomment-2525180194"
},
{
"type": "REPORT",
"url": "https://github.com/ultralytics/ultralytics/issues/18027"
},
{
"type": "FIX",
"url": "https://github.com/ultralytics/ultralytics/pull/18052"
},
{
"type": "FIX",
"url": "https://github.com/ultralytics/ultralytics/pull/18111"
},
{
"type": "FIX",
"url": "https://github.com/ultralytics/ultralytics/releases/tag/v8.3.48"
},
{
"type": "ARTICLE",
"url": "https://blog.yossarian.net/2024/12/06/zizmor-ultralytics-injection"
}
],
"related": [
"GHSA-7x29-qqmq-v6qc"
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "A number of releases of ultralytics contained malicious crypto miner software."
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.