VDB

PYSEC-2020-96

PYSEC-2020-96 PUBLISHED CVSS 9.300000190734863 CRITICAL

Record from OSV · Published March 24, 2020

pyyaml is fixed in 5.3.1 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pyyamlPyPI5.3.1

Risk scores

CVSS 4.0
9.300000190734863
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

Affected products

VendorProductVersions
PyPIpyyaml5.1, 5.1, 5.1.1

Timeline

  • Mar 24, 2020 CVE Published
  • May 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2020-96
vulnetix vdb fixes PYSEC-2020-96

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2020-96/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›