Debian dla-3750 : php-phpseclib - security update

high Nessus Plugin ID 191553

Synopsis

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

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3750 advisory.

- Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.
(CVE-2023-27560)

- An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560. (CVE-2024-27354)

- An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. When processing the ASN.1 object identifier of a certificate, a sub identifier may be provided that leads to a denial of service (CPU consumption for decodeOID). (CVE-2024-27355)

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 php-phpseclib packages.

See Also

http://www.nessus.org/u?bb7f1a05

https://security-tracker.debian.org/tracker/CVE-2023-27560

https://security-tracker.debian.org/tracker/CVE-2024-27354

https://security-tracker.debian.org/tracker/CVE-2024-27355

https://packages.debian.org/source/buster/php-phpseclib

Plugin Details

Severity: High

ID: 191553

File Name: debian_DLA-3750.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/5/2024

Updated: 3/5/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-27560

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:php-phpseclib

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/5/2024

Vulnerability Publication Date: 3/3/2023

Reference Information

CVE: CVE-2023-27560, CVE-2024-27354, CVE-2024-27355