CVE-2019-20477
Python packages · CVE-2019-20477
PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 5.114% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:26.590Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:19.794Z | OSV |
| affected | verified | 2026-11-19T12:55:19.261Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:19.261Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/yaml/pyyaml/blob/master/CHANGES",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/download/47655",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/",
"name": "FEDORA-2020-3162499159",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/",
"name": "FEDORA-2020-e84e90dc4a",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T02:39:10.138Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3pqx-4fqf-j49f",
"aliases": [
"CVE-2019-20477",
"PYSEC-2020-176"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.1"
},
{
"fixed": "5.2"
}
]
}
],
"package": {
"name": "pyyaml",
"purl": "pkg:pypi/pyyaml",
"ecosystem": "PyPI"
},
"versions": [
"5.1",
"5.1.1",
"5.1.2",
"5.2b1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-3pqx-4fqf-j49f/GHSA-3pqx-4fqf-j49f.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20477",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-3pqx-4fqf-j49f",
"type": "ADVISORY"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml",
"type": "WEB"
},
{
"url": "https://github.com/yaml/pyyaml",
"type": "PACKAGE"
},
{
"url": "https://github.com/yaml/pyyaml/blob/master/CHANGES",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/download/47655",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-502"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2020-02-19T04:15:00Z",
"github_reviewed_at": "2021-04-08T19:24:04Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2020-176",
"aliases": [
"CVE-2019-20477",
"GHSA-3pqx-4fqf-j49f"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.1"
},
{
"fixed": "5.2b1"
}
]
}
],
"package": {
"name": "pyyaml",
"purl": "pkg:pypi/pyyaml",
"ecosystem": "PyPI"
},
"versions": [
"5.1",
"5.1.1",
"5.1.2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2020-176.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.exploit-db.com/download/47655",
"type": "WEB"
},
{
"url": "https://github.com/yaml/pyyaml/blob/master/CHANGES",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-3pqx-4fqf-j49f",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | pyyaml | Not a distribution channel | 5.2 | Official record |
| ecosystem-boundary | PyPI / package | pyyaml | Not a distribution channel | 5.2b1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:55:19.261ZArchived source JSON
Source publication: 2020-02-19T03:09:21.000Z
Source modification: 2024-08-05T02:39:10.138ZDocument fingerprint
3542ea1dada9794046beabd813568e56629bc5a77f99b8abbe257a01a3367da0 - OSVConsulted: 2026-11-19T12:52:19.794ZArchived source JSON
Source publication: 2021-04-20T16:40:42.000Z
Source modification: 2024-10-25T21:23:11.506ZDocument fingerprint
4cb3ea6d8f0e3dc328aae06d0e95bebc899380c7883292c0886a7d36d8046323 - OSVConsulted: 2026-11-19T12:52:19.794ZArchived source JSON
Source publication: 2020-02-19T04:15:00.000Z
Source modification: 2023-11-08T04:01:30.627ZDocument fingerprint
4cb3ea6d8f0e3dc328aae06d0e95bebc899380c7883292c0886a7d36d8046323 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:26.590ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
998129b66c9b00bec5d61bf0852ac08b10eda0fe4ab0b3ac088e4b344e19b4d3
Official status history
- UNKNOWN → PUBLISHED · · evidence