Ubuntu 22.04 LTS / 24.04 LTS / 24.10 : .NET vulnerabilities (USN-7210-1)

high Nessus Plugin ID 214328

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 22.04 LTS / 24.04 LTS / 24.10 host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-7210-1 advisory.

It was discovered that .NET did not properly handle input provided to its Convert.TryToHexString method.
An attacker could possibly use this issue to execute arbitrary code. (CVE-2025-21171)

It was discovered that .NET did not properly handle an integer overflow when processing certain specially crafted files. An attacker could possibly use this issue to execute arbitrary code. (CVE-2025-21172)

Daniel Plaisted and Noah Gilson discovered that .NET insecurely handled temporary file usage which could result in malicious package dependency injection. An attacker could possibly use this issue to elevate privileges. (CVE-2025-21173)

It was discovered that .NET did not properly perform input data validation when processing certain specially crafted files. An attacker could possibly use this issue to execute arbitrary code.
(CVE-2025-21176)

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

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

Solution

Update the affected packages.

See Also

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

Plugin Details

Severity: High

ID: 214328

File Name: ubuntu_USN-7210-1.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/17/2025

Updated: 1/17/2025

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2025-21176

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:aspnetcore-runtime-8.0, p-cpe:/a:canonical:ubuntu_linux:aspnetcore-targeting-pack-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-apphost-pack-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-host-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-hostfxr-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-runtime-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-8.0-source-built-artifacts, p-cpe:/a:canonical:ubuntu_linux:dotnet-targeting-pack-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-templates-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet8, p-cpe:/a:canonical:ubuntu_linux:netstandard-targeting-pack-2.1-8.0, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:aspnetcore-runtime-dbg-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-runtime-dbg-8.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-dbg-8.0, cpe:/o:canonical:ubuntu_linux:24.10, p-cpe:/a:canonical:ubuntu_linux:aspnetcore-runtime-9.0, p-cpe:/a:canonical:ubuntu_linux:aspnetcore-runtime-dbg-9.0, p-cpe:/a:canonical:ubuntu_linux:aspnetcore-targeting-pack-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-apphost-pack-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-host-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-hostfxr-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-runtime-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-runtime-dbg-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-9.0-source-built-artifacts, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-aot-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-sdk-dbg-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-targeting-pack-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet-templates-9.0, p-cpe:/a:canonical:ubuntu_linux:dotnet9, p-cpe:/a:canonical:ubuntu_linux:netstandard-targeting-pack-2.1-9.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/16/2025

Vulnerability Publication Date: 1/14/2025

Reference Information

CVE: CVE-2025-21171, CVE-2025-21172, CVE-2025-21173, CVE-2025-21176

USN: 7210-1