{"id":"UBUNTU-CVE-2020-21365","details":"Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.","modified":"2026-02-04T02:48:40.418913Z","published":"2022-08-15T20:15:00Z","related":["USN-6232-1"],"upstream":["CVE-2020-21365"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-21365"},{"type":"REPORT","url":"https://github.com/wkhtmltopdf/wkhtmltopdf/commit/2a5f25077895fb075812c0f599326f079a59d6cf"},{"type":"REPORT","url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4536"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6232-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-21365"}],"affected":[{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.9.9-4ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.9-4ubuntu0.1~esm1"}]}],"versions":["0.9.9-4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.9.9-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21365.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.2.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2.4-1ubuntu0.1~esm1"}]}],"versions":["0.12.2.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.2.4-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21365.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.4-1ubuntu0.1~esm1"}]}],"versions":["0.12.3.2-3","0.12.4-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"0.12.4-1ubuntu0.1~esm1","binary_name":"wkhtmltopdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21365.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.5-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5-1ubuntu0.1"}]}],"versions":["0.12.5-1","0.12.5-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.5-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21365.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}