UBUNTU-CVE-2020-14343

Source
https://ubuntu.com/security/CVE-2020-14343
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14343.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-14343
Related
Published
2021-02-09T21:15:00Z
Modified
2021-02-09T21: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.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.

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.1-1ubuntu0.1

Affected versions

5.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.3.1-1ubuntu0.1",
            "binary_name": "python-yaml"
        },
        {
            "binary_version": "5.3.1-1ubuntu0.1",
            "binary_name": "python-yaml-dbg"
        },
        {
            "binary_version": "5.3.1-1ubuntu0.1",
            "binary_name": "python3-yaml"
        },
        {
            "binary_version": "5.3.1-1ubuntu0.1",
            "binary_name": "python3-yaml-dbg"
        }
    ]
}