Vulnerabilities / CVE-2019-20478

critical

CVE-2019-20478

python-ruamel-yaml: code execution through load() method with an untrusted argument

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium).

Description

In ruamel.yaml through 0.16.7, the load method allows remote code execution if the application calls this method with an untrusted argument. In other words, this issue affects developers who are unaware of the need to use methods such as safe_load in these use cases.

Affected packages and fixed versions

SourcePackageFixed in
debian 11ruamel.yamlno fix listed
debian 12ruamel.yamlno fix listed
debian 13ruamel.yamlno fix listed
debian 14ruamel.yamlno fix listed
echoruamel.yamlno fix listed
rapidfort amazon linux 2023python-ruamel-yaml, python-ruamel-yaml-clibno fix listed
rapidfort debian 12ruamel.yamlno fix listed
rapidfort debian 13ruamel.yamlno fix listed
Red Hatpython-openshift, python-ruamel-yaml, python2-openshift and 1 moreno fix listed
Show all 13 entries from 9 sources
SourcePackageFixed in
debian 11ruamel.yamlno fix listed
debian 12ruamel.yamlno fix listed
debian 13ruamel.yamlno fix listed
debian 14ruamel.yamlno fix listed
echoruamel.yamlno fix listed
rapidfort amazon linux 2023python-ruamel-yamlno fix listed
rapidfort amazon linux 2023python-ruamel-yaml-clibno fix listed
rapidfort debian 12ruamel.yamlno fix listed
rapidfort debian 13ruamel.yamlno fix listed
Red Hatpython-openshiftno fix listed
Red Hatpython-ruamel-yamlno fix listed
Red Hatpython2-openshiftno fix listed
Red Hatpython3-ruamel-yamlno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.