PYSEC-2021-848

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/sockeye/PYSEC-2021-848.yaml
JSON Data
https://api.test.osv.dev/v1/vulns/PYSEC-2021-848
Aliases
Published
2021-12-08T23:15:00Z
Modified
2023-11-01T04:56:45.454583Z
Summary
[none]
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.

References

Affected packages

PyPI / sockeye

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.24

Affected versions

1.*

1.0.1
1.0.2
1.0.3
1.1.1
1.5.1
1.7.1
1.8.3
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.5
1.18.6
1.18.8
1.18.9
1.18.10
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.54
1.18.56
1.18.57
1.18.61
1.18.67
1.18.72
1.18.78
1.18.85
1.18.92
1.18.93
1.18.97
1.18.106

2.*

2.1.7
2.1.13
2.1.16
2.1.17
2.1.21
2.2.0
2.2.8
2.3.2
2.3.8
2.3.10
2.3.14
2.3.17
2.3.22