Ubuntu update for qpdf



Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2018-18020
CVE-2021-36978
CWE-ID CWE-20
CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

libqpdf26 (Ubuntu package)
Operating systems & Components / Operating system package or component

qpdf (Ubuntu package)
Operating systems & Components / Operating system package or component

libqpdf21 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU36557

Risk: Low

CVSSv4.0: 1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2018-18020

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

In QPDF 8.2.1, in libqpdf/QPDFWriter.cc, QPDFWriter::unparseObject and QPDFWriter::unparseChild have recursive calls for a long time, which allows remote attackers to cause a denial of service via a crafted PDF file.

Mitigation

Update the affected package qpdf to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 20.04

libqpdf26 (Ubuntu package): before 9.1.1-1ubuntu0.1

qpdf (Ubuntu package): before 8.0.2-3ubuntu0.1

libqpdf21 (Ubuntu package): before 8.0.2-3ubuntu0.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5026-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

EUVDB-ID: #VU66595

Risk: High

CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2021-36978

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the Pl_ASCII85Decoder::write() function when processing PDF files. A remote attacker can pass specially crafted file to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package qpdf to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 20.04

libqpdf26 (Ubuntu package): before 9.1.1-1ubuntu0.1

qpdf (Ubuntu package): before 8.0.2-3ubuntu0.1

libqpdf21 (Ubuntu package): before 8.0.2-3ubuntu0.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5026-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###