CVE-2020-14343

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-14343
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-14343.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-14343
Aliases
Related
Published
2021-02-09T21:15:12Z
Modified
2024-10-12T06:02:07.446239Z
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.4, 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. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.

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-r1

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.1-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-r1

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
5.3.1-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-r2

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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.4-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
5.3.1-r0
5.3.1-r1

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.1-4

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.1-4

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.1-4

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
5.3
5.3.1
5.3b1