GHSA-6757-jp84-gxfx

    Dashboard / Vulnerabilities / GHSA-6757-jp84-gxfx

    GHSA-6757-jp84-gxfx

    Published: 20 Apr 2021Last Modified: 4 May 2026

    Summary: Improper Input Validation in PyYAML

    Details: A vulnerability was discovered in the PyYAML library in versions before 5.3.1, 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. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

    Affected packages

    Package

    Name: pyyaml

    Purl: pkg:pypi/pyyaml

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 5.1b7
    Fixed -5.3.1

    Affected versions

    5.1
    5.1.1
    5.1.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-6757-jp84-gxfx | CVE-DB