QID 980646

QID 980646: Python (pip) Security Update for PyYAML (GHSA-8q59-q68h-6hv4)

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.

Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Customers are advised to refer to GHSA-8q59-q68h-6hv4 for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 980646

    Software Advisories
    Advisory ID Software Component Link
    GHSA-8q59-q68h-6hv4 PyYAML URL Logo github.com/advisories/GHSA-8q59-q68h-6hv4