CVE-2021-43811: Code injection via unsafe YAML loading
(updated )
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.
References
- github.com/advisories/GHSA-ggmr-44cv-24pm
- github.com/awslabs/sockeye
- github.com/awslabs/sockeye/pull/964
- github.com/awslabs/sockeye/releases/tag/2.3.24
- github.com/awslabs/sockeye/security/advisories/GHSA-ggmr-44cv-24pm
- github.com/pypa/advisory-database/tree/main/vulns/sockeye/PYSEC-2021-848.yaml
- nvd.nist.gov/vuln/detail/CVE-2021-43811
Detect and mitigate CVE-2021-43811 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →