{"id":"UBUNTU-CVE-2019-20478","details":"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.","modified":"2026-05-20T16:03:54.502017019Z","published":"2020-02-19T04:15:00Z","upstream":["CVE-2019-20478"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-20478"},{"type":"REPORT","url":"https://www.exploit-db.com/exploits/47655"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-20478"}],"affected":[{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.12-1","0.10.12-2","0.10.12-2build1","0.10.23-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.23-1","binary_name":"python-ruamel.yaml"},{"binary_version":"0.10.23-1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}},{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.4-2build2","0.15.34-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.15.34-1","binary_name":"python-ruamel.yaml"},{"binary_version":"0.15.34-1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}},{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.34-1build2","0.15.89-1","0.15.89-3","0.15.89-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.15.89-3build1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}},{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.12-2","0.17.16-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.17.16-1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}},{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17.21-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.17.21-1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}},{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.10+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.18.10+ds-1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}},{"package":{"name":"ruamel.yaml","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruamel.yaml?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.10+ds-1","0.18.10+ds-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.18.10+ds-1build1","binary_name":"python3-ruamel.yaml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20478.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}