GHSA-8q59-q68h-6hv4

Suggest an improvement
Source
https://github.com/advisories/GHSA-8q59-q68h-6hv4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-8q59-q68h-6hv4/GHSA-8q59-q68h-6hv4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8q59-q68h-6hv4
Aliases
Published
2021-03-25T21:26:26Z
Modified
2024-10-25T21:38:05.584351Z
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
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Improper Input Validation in PyYAML
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

PyPI / pyyaml

Package

Affected ranges

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

Affected versions

3.*

3.01
3.02
3.03
3.04
3.05
3.06
3.07
3.08
3.09
3.10
3.11
3.12
3.13b1
3.13rc1
3.13

4.*

4.2b1
4.2b2
4.2b4

5.*

5.1b1
5.1b3
5.1b5
5.1b7
5.1
5.1.1
5.1.2
5.2b1
5.2
5.3b1
5.3
5.3.1
5.4b1
5.4b2