Security mailing lists by PureSourceCode

CVE-2021-43811

HIGH 7.8CVSS 3.1

Code injection via unsafe YAML loading

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.

Published
8 Dec 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-ggmr-44cv-24pmPYSEC-2021-848
Sources
NVDJSONOSV GHSA-ggmr-44cv-24pmJSONOSV PYSEC-2021-848JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD amazon sockeye
cpe:2.3:a:amazon:sockeye:*:*:*:*:*:python:*:*
< 2.3.24 2.3.24
OSV PyPI sockeye < 2.3.24 2.3.24

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Dec 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Dec 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Dec 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.