Vulnerability CVE-2021-43811


Published: 2021-12-08   Modified: 2021-12-09

Description:
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.

Type:

CWE-94

(Improper Control of Generation of Code ('Code Injection'))

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Amazon -> Sockeye 

 References:
https://github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm
https://github.com/awslabs/sockeye/releases/tag/2.3.24
https://github.com/awslabs/sockeye/pull/964

Copyright 2022, cxsecurity.com

 

Back to Top