USN-6232-1: wkhtmltopdf vulnerability

Publication date

20 July 2023

Overview

wkhtmltopdf could be made to expose sensitive information if it opened a specially crafted file.


Packages

  • wkhtmltopdf - Command line utility to convert html to pdf using WebKit

Details

It was discovered that wkhtmltopdf was not properly enforcing the
same-origin policy when processing certain HTML files. If a user or
automated system using wkhtmltopdf were tricked into processing a
specially crafted HTML file, an attacker could possibly use this issue to
expose sensitive information.

It was discovered that wkhtmltopdf was not properly enforcing the
same-origin policy when processing certain HTML files. If a user or
automated system using wkhtmltopdf were tricked into processing a
specially crafted HTML file, an attacker could possibly use this issue to
expose sensitive information.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 focal wkhtmltopdf –  0.12.5-1ubuntu0.1
18.04 bionic wkhtmltopdf –  0.12.4-1ubuntu0.1~esm1  
16.04 xenial wkhtmltopdf –  0.12.2.4-1ubuntu0.1~esm1  
14.04 trusty wkhtmltopdf –  0.9.9-4ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›