CVE-2020-14343
Python packages · CVE-2020-14343
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 6.240% · 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-19T17:59:58.648Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:27.485Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:19.794Z | OSV |
| affected | verified | 2026-11-19T12:55:26.242Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:26.242Z | CVE Program |
Affected versions and configuration
n/a PyYAML; default status: unknown: PyYAML 5.4 [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": "PyYAML",
"versions": [
{
"status": "affected",
"version": "PyYAML 5.4"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/yaml/pyyaml/issues/420",
"tags": [
"x_transferred"
]
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1860466",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/SeldonIO/seldon-core/issues/2252",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T12:39:36.530Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-8q59-q68h-6hv4",
"aliases": [
"CVE-2020-14343",
"PYSEC-2021-142"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4"
}
]
}
],
"package": {
"name": "pyyaml",
"purl": "pkg:pypi/pyyaml",
"ecosystem": "PyPI"
},
"versions": [
"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.13",
"3.13b1",
"3.13rc1",
"4.2b1",
"4.2b2",
"4.2b4",
"5.1",
"5.1.1",
"5.1.2",
"5.1b1",
"5.1b3",
"5.1b5",
"5.1b7",
"5.2",
"5.2b1",
"5.3",
"5.3.1",
"5.3b1",
"5.4b1",
"5.4b2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-8q59-q68h-6hv4/GHSA-8q59-q68h-6hv4.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-2020-14343",
"type": "ADVISORY"
},
{
"url": "https://github.com/SeldonIO/seldon-core/issues/2252",
"type": "WEB"
},
{
"url": "https://github.com/yaml/pyyaml/issues/420",
"type": "WEB"
},
{
"url": "https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966",
"type": "WEB"
},
{
"url": "https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc",
"type": "WEB"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1860466",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-8q59-q68h-6hv4",
"type": "ADVISORY"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml",
"type": "WEB"
},
{
"url": "https://github.com/yaml/pyyaml",
"type": "PACKAGE"
},
{
"url": "https://pypi.org/project/PyYAML",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-02-09T21:15:00Z",
"github_reviewed_at": "2021-03-25T21:15:23Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2021-142",
"aliases": [
"CVE-2020-14343",
"GHSA-8q59-q68h-6hv4"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4"
}
]
}
],
"package": {
"name": "pyyaml",
"purl": "pkg:pypi/pyyaml",
"ecosystem": "PyPI"
},
"versions": [
"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.13",
"3.13b1",
"3.13rc1",
"4.2b1",
"4.2b2",
"4.2b4",
"5.1",
"5.1.1",
"5.1.2",
"5.1b1",
"5.1b3",
"5.1b5",
"5.1b7",
"5.2",
"5.2b1",
"5.3",
"5.3.1",
"5.3b1",
"5.4b1",
"5.4b2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2021-142.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1860466",
"type": "REPORT"
},
{
"url": "https://github.com/advisories/GHSA-8q59-q68h-6hv4",
"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.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:19.794ZArchived source JSON
Source publication: 2021-03-25T21:26:26.000Z
Source modification: 2026-02-04T03:33:10.792ZDocument fingerprint
4cb3ea6d8f0e3dc328aae06d0e95bebc899380c7883292c0886a7d36d8046323 - OSVConsulted: 2026-11-19T12:52:19.794ZArchived source JSON
Source publication: 2021-02-09T21:15:00.000Z
Source modification: 2023-11-08T04:02:26.414ZDocument fingerprint
4cb3ea6d8f0e3dc328aae06d0e95bebc899380c7883292c0886a7d36d8046323 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:26.242ZArchived source JSON
Source publication: 2021-02-09T00:00:00.000Z
Source modification: 2024-08-04T12:39:36.530ZDocument fingerprint
ae45367064aadb6f3b4cb564e00da938e5eed4877cab77b75fccd10dad7557a6 - FIRST EPSSConsulted: 2026-11-19T16:04:27.485ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
79c410884fd78eafbdac79b6945a23346f1d7d13a5f88e79a579a85f2c56a9fc
Official status history
- UNKNOWN → PUBLISHED · · evidence