Debian DLA-3548-1 : qpdf - LTS security update

medium Nessus Plugin ID 180269

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3548 advisory.

- 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. (CVE-2018-18020)

- An issue was discovered in QPDF version 10.0.4, allows remote attackers to execute arbitrary code via crafted .pdf file to Pl_ASCII85Decoder::write parameter in libqpdf. (CVE-2021-25786)

- QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain downstream write fails. (CVE-2021-36978)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the qpdf packages.

For Debian 10 buster, these problems have been fixed in version 8.4.0-2+deb10u1.

See Also

https://security-tracker.debian.org/tracker/source-package/qpdf

https://www.debian.org/lts/security/2023/dla-3548

https://security-tracker.debian.org/tracker/CVE-2018-18020

https://security-tracker.debian.org/tracker/CVE-2021-25786

https://security-tracker.debian.org/tracker/CVE-2021-36978

https://packages.debian.org/source/buster/qpdf

Plugin Details

Severity: Medium

ID: 180269

File Name: debian_DLA-3548.nasl

Version: 1.1

Type: local

Agent: unix

Published: 8/30/2023

Updated: 9/28/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-36978

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2021-25786

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libqpdf-dev, p-cpe:/a:debian:debian_linux:libqpdf21, p-cpe:/a:debian:debian_linux:qpdf, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/29/2023

Vulnerability Publication Date: 10/6/2018

Reference Information

CVE: CVE-2018-18020, CVE-2021-25786, CVE-2021-36978