PYSEC-2021-848
Vulnerability from pysec - Published: 2021-12-08 23:15 - Updated: 2021-12-13 21:28Sockeye is an open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch. Sockeye uses YAML to store model and data configurations on disk. Versions below 2.3.24 use unsafe YAML loading, which can be made to execute arbitrary code embedded in config files. An attacker can add malicious code to the config file of a trained model and attempt to convince users to download and run it. If users run the model, the embedded code will run locally. The issue is fixed in version 2.3.24.
| Name | purl | sockeye | pkg:pypi/sockeye |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "sockeye",
"purl": "pkg:pypi/sockeye"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.24"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.1",
"1.0.2",
"1.0.3",
"1.1.1",
"1.10.1",
"1.10.3",
"1.10.4",
"1.10.5",
"1.13.0",
"1.15.5",
"1.15.6",
"1.15.7",
"1.15.8",
"1.16.0",
"1.16.1",
"1.16.2",
"1.17.0",
"1.17.2",
"1.17.4",
"1.18.1",
"1.18.10",
"1.18.106",
"1.18.13",
"1.18.15",
"1.18.17",
"1.18.20",
"1.18.21",
"1.18.22",
"1.18.23",
"1.18.28",
"1.18.35",
"1.18.41",
"1.18.47",
"1.18.5",
"1.18.54",
"1.18.56",
"1.18.57",
"1.18.6",
"1.18.61",
"1.18.67",
"1.18.72",
"1.18.78",
"1.18.8",
"1.18.85",
"1.18.9",
"1.18.92",
"1.18.93",
"1.18.97",
"1.5.1",
"1.7.1",
"1.8.3",
"2.1.13",
"2.1.16",
"2.1.17",
"2.1.21",
"2.1.7",
"2.2.0",
"2.2.8",
"2.3.10",
"2.3.14",
"2.3.17",
"2.3.2",
"2.3.22",
"2.3.8"
]
}
],
"aliases": [
"CVE-2021-43811",
"GHSA-ggmr-44cv-24pm"
],
"details": "Sockeye is an open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch. Sockeye uses YAML to store model and data configurations on disk. Versions below 2.3.24 use unsafe YAML loading, which can be made to execute arbitrary code embedded in config files. An attacker can add malicious code to the config file of a trained model and attempt to convince users to download and run it. If users run the model, the embedded code will run locally. The issue is fixed in version 2.3.24.",
"id": "PYSEC-2021-848",
"modified": "2021-12-13T21:28:21.588606Z",
"published": "2021-12-08T23:15:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm"
},
{
"type": "WEB",
"url": "https://github.com/awslabs/sockeye/releases/tag/2.3.24"
},
{
"type": "WEB",
"url": "https://github.com/awslabs/sockeye/pull/964"
}
]
}
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.
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.