CVE-2020-1747

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-1747
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-1747.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-1747
Aliases
Related
Published
2020-03-24T15:15:12Z
Modified
2024-10-12T06:16:17.682430Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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

Alpine:v3.12 / py3-yaml

Package

Name
py3-yaml
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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.13 / py3-yaml

Package

Name
py3-yaml
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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.14 / py3-yaml

Package

Name
py3-yaml
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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.19 / py3-yaml

Package

Name
py3-yaml
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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.20 / py3-yaml

Package

Name
py3-yaml
Purl
pkg:apk/alpine/py3-yaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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

Debian:11 / pyyaml

Package

Name
pyyaml
Purl
pkg:deb/debian/pyyaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.3-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pyyaml

Package

Name
pyyaml
Purl
pkg:deb/debian/pyyaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.3-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pyyaml

Package

Name
pyyaml
Purl
pkg:deb/debian/pyyaml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.3-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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