logo

CVE-2021-43811 sockeye

Package

Manager: pip
Name: sockeye
Vulnerable Version: >=0 <2.3.24

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

EPSS: 0.08717 pctl0.92147

Details

Code injection via unsafe YAML loading ### Impact 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. ### Patches The issue is fixed in version 2.3.24 and above by #964. ### For more information If you have any questions or comments about this advisory: * Open an issue in [awslabs/sockeye](https://github.com/awslabs/sockeye) * Email us at [sockeye-dev](mailto:sockeye-dev@amazon.com) ### Attribution This vulnerability was reported by Masatoshi Yoshizawa of yamory Security Team.

Metadata

Created: 2021-12-09T18:35:22Z
Modified: 2024-10-25T14:50:22Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-ggmr-44cv-24pm/GHSA-ggmr-44cv-24pm.json
CWE IDs: ["CWE-94"]
Alternative ID: GHSA-ggmr-44cv-24pm
Finding: F422
Auto approve: 1