CVE-2020-1747

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-1747
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1747.json
Aliases
Related
Published
2020-03-24T15:15:12Z
Modified
2023-11-29T08:08:53.058685Z
Details

A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

References

Affected packages

Alpine:v3.11 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r2

Alpine:v3.12 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r2
5.3-r2

Alpine:v3.13 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r2
5.3-r2

Alpine:v3.14 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r0
5.3-r0

Alpine:v3.15 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r0
5.3-r0

Alpine:v3.16 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r0
5.3-r0

Alpine:v3.17 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r0
5.3-r0

Alpine:v3.18 / py3-yaml

Package

Name
py3-yaml

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.3.1-r0

Affected versions

3.*

3.10-r0
3.10-r1
3.11-r0
3.12-r0
3.12-r1

4.*

4.1-r0

5.*

5.1-r0
5.1.1-r0
5.1.2-r0
5.1.2-r1
5.1.2-r2
5.2-r0
5.3-r0

Git / github.com/yaml/pyyaml

Affected ranges

Type
GIT
Repo
https://github.com/yaml/pyyaml
Events

Affected versions

5.*

5.1
5.1.1
5.1.2
5.2
5.2b1