Skip to content
Heist/ feed
Back to feed
CriticalFix available

pyyaml — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
pyyaml
Affected versions
Not specified
Fixed versions
5.3.1-4
CVEs
CVE-2020-14343
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:25 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-14343

core-osv · Original source

Published 9 Feb 2021, 21:15 UTC

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.

osv:DEBIAN-CVE-2020-14343

pyyaml

Fixed versions: 5.3.1-4

pyyaml

Fixed versions: 5.3.1-4

pyyaml

Fixed versions: 5.3.1-4

Complete source record
{
  "id": "b0e84f5a9bdb8089190c2cba155f3b489e578a4d493118ca1b114ebf95fb5364",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-14343",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-14343",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-14343",
    "products": [
      {
        "name": {
          "value": "pyyaml",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.3.1-4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pyyaml",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.3.1-4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pyyaml",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.3.1-4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2020-14343",
      "aliases": [
        "DEBIAN-CVE-2020-14343"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.3.1-4"
                }
              ]
            }
          ],
          "package": {
            "name": "pyyaml",
            "purl": "pkg:deb/debian/pyyaml?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14343.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.3.1-4"
                }
              ]
            }
          ],
          "package": {
            "name": "pyyaml",
            "purl": "pkg:deb/debian/pyyaml?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14343.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.3.1-4"
                }
              ]
            }
          ],
          "package": {
            "name": "pyyaml",
            "purl": "pkg:deb/debian/pyyaml?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14343.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:02:26.447123172Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-14343"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-14343"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-14343",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452194,
  "published_at": "2021-02-09T21:15:12.707+00:00"
}