UBUNTU-CVE-2020-1747

Source
https://ubuntu.com/security/CVE-2020-1747
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-1747.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-1747
Related
Published
2020-03-24T15:15:00Z
Modified
2020-03-24T15:15:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:20.04:LTS / pyyaml

Package

Name
pyyaml
Purl
pkg:deb/ubuntu/pyyaml?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.3-2

Affected versions

5.*

5.1.2-1
5.1.2-1build1
5.3-1ubuntu1
5.3-1ubuntu2
5.3-1ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "5.3-2",
            "binary_name": "python-yaml"
        },
        {
            "binary_version": "5.3-2",
            "binary_name": "python-yaml-dbg"
        },
        {
            "binary_version": "5.3-2",
            "binary_name": "python3-yaml"
        },
        {
            "binary_version": "5.3-2",
            "binary_name": "python3-yaml-dbg"
        }
    ]
}