Amazon Linux 2 : qpdf (ALAS-2024-2409)

medium Nessus Plugin ID 187822

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of qpdf installed on the remote host is prior to 5.0.1-4. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2024-2409 advisory.

- 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

Run 'yum update qpdf' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2409.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2021-25786.html

https://alas.aws.amazon.com/cve/html/CVE-2021-36978.html

Plugin Details

Severity: Medium

ID: 187822

File Name: al2_ALAS-2024-2409.nasl

Version: 1.3

Type: local

Agent: unix

Published: 1/9/2024

Updated: 1/18/2024

Supported Sensors: Frictionless Assessment AWS, 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:amazon:linux:qpdf, p-cpe:/a:amazon:linux:qpdf-debuginfo, p-cpe:/a:amazon:linux:qpdf-devel, p-cpe:/a:amazon:linux:qpdf-doc, p-cpe:/a:amazon:linux:qpdf-libs, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/3/2024

Vulnerability Publication Date: 8/11/2023

Reference Information

CVE: CVE-2021-25786, CVE-2021-36978