Ubuntu 20.04 LTS : php-nesbot-carbon vulnerability (USN-9332-1)

medium Nessus Plugin ID 391223

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 20.04 LTS host has a package installed that is affected by a vulnerability as referenced in the USN-9332-1 advisory.

It was discovered that Carbon did not properly validate locale names. If an application passed unsanitized user input as a locale and allowed users to upload files with a .php extension, a remote attacker could possibly use this issue to include arbitrary files and execute arbitrary code.

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

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

Solution

Update the affected php-nesbot-carbon package.

See Also

https://ubuntu.com/security/CVE-2025-22145

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

Plugin Details

Severity: Medium

ID: 391223

File Name: ubuntu_USN-9332-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 59.05

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2025-22145

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:php-nesbot-carbon

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 1/8/2025

Reference Information

CVE: CVE-2025-22145

USN: 9332-1