pysec-2021-142
Vulnerability from pysec
Published
2021-02-09 21:15
Modified
2021-08-27 03:22
Details

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.




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pyyaml",
        "purl": "pkg:pypi/pyyaml"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [
    "CVE-2020-14343",
    "GHSA-8q59-q68h-6hv4"
  ],
  "details": "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.",
  "id": "PYSEC-2021-142",
  "modified": "2021-08-27T03:22:18.913334Z",
  "published": "2021-02-09T21:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1860466"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-8q59-q68h-6hv4"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.