GHSA-6757-jp84-gxfx

Suggest an improvement
Source
https://github.com/advisories/GHSA-6757-jp84-gxfx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-6757-jp84-gxfx/GHSA-6757-jp84-gxfx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6757-jp84-gxfx
Aliases
Published
2021-04-20T16:14:24Z
Modified
2024-10-31T16:22:03.203857Z
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.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

PyPI / pyyaml

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1b7
Fixed
5.3.1

Affected versions

5.*

5.1b7
5.1
5.1.1
5.1.2
5.2b1
5.2
5.3b1
5.3