USN-6161-1: .NET vulnerabilities

Publication date

13 June 2023

Overview

Several security issues were fixed in .NET.


Packages

  • dotnet6 - dotNET CLI tools and runtime
  • dotnet7 - dotNET CLI tools and runtime

Details

It was discovered that .NET did not properly enforce certain
restrictions when deserializing a DataSet or DataTable from
XML. An attacker could possibly use this issue to elevate their
privileges. (CVE-2023-24936)

Kevin Jones discovered that .NET did not properly handle the
AIA fetching process for X.509 client certificates. An attacker
could possibly use this issue to cause a denial of service.
(CVE-2023-29331)

Kalle Niemitalo discovered that the .NET package manager,
NuGet, was susceptible to a potential race condition. An
attacker could possibly use this issue to perform remote
code execution. (CVE-2023-29337)

Tom Deseyn discovered that .NET did not properly process certain
arguments when extracting the contents of a tar file. An attacker
could possibly use this issue to elevate their privileges....

It was discovered that .NET did not properly enforce certain
restrictions when deserializing a DataSet or DataTable from
XML. An attacker could possibly use this issue to elevate their
privileges. (CVE-2023-24936)

Kevin Jones discovered that .NET did not properly handle the
AIA fetching process for X.509 client certificates. An attacker
could possibly use this issue to cause a denial of service.
(CVE-2023-29331)

Kalle Niemitalo discovered that the .NET package manager,
NuGet, was susceptible to a potential race condition. An
attacker could possibly use this issue to perform remote
code execution. (CVE-2023-29337)

Tom Deseyn discovered that .NET did not properly process certain
arguments when extracting the contents of a tar file. An attacker
could possibly use this issue to elevate their privileges. This
issue only affected the dotnet7 package. (CVE-2023-32032)

It was discovered that .NET did not properly handle memory in
certain circumstances. An attacker could possibly use this issue
to cause a denial of service or perform remote code execution.
(CVE-2023-33128)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
23.04 lunar aspnetcore-runtime-6.0 –  6.0.118-0ubuntu1~23.04.1
dotnet-hostfxr-7.0 –  7.0.107-0ubuntu1~23.04.1
dotnet-hostfxr-6.0 –  6.0.118-0ubuntu1~23.04.1
dotnet-host –  6.0.118-0ubuntu1~23.04.1
aspnetcore-runtime-7.0 –  7.0.107-0ubuntu1~23.04.1
dotnet-sdk-6.0 –  6.0.118-0ubuntu1~23.04.1
dotnet-sdk-7.0 –  7.0.107-0ubuntu1~23.04.1
dotnet6 –  6.0.118-0ubuntu1~23.04.1
dotnet7 –  7.0.107-0ubuntu1~23.04.1
dotnet-runtime-7.0 –  7.0.107-0ubuntu1~23.04.1
dotnet-runtime-6.0 –  6.0.118-0ubuntu1~23.04.1
dotnet-host-7.0 –  7.0.107-0ubuntu1~23.04.1
22.10 kinetic aspnetcore-runtime-6.0 –  6.0.118-0ubuntu1~22.10.1
dotnet-hostfxr-7.0 –  7.0.107-0ubuntu1~22.10.1
dotnet-hostfxr-6.0 –  6.0.118-0ubuntu1~22.10.1
dotnet-host –  6.0.118-0ubuntu1~22.10.1
aspnetcore-runtime-7.0 –  7.0.107-0ubuntu1~22.10.1
dotnet-sdk-6.0 –  6.0.118-0ubuntu1~22.10.1
dotnet-sdk-7.0 –  7.0.107-0ubuntu1~22.10.1
dotnet6 –  6.0.118-0ubuntu1~22.10.1
dotnet7 –  7.0.107-0ubuntu1~22.10.1
dotnet-runtime-7.0 –  7.0.107-0ubuntu1~22.10.1
dotnet-runtime-6.0 –  6.0.118-0ubuntu1~22.10.1
dotnet-host-7.0 –  7.0.107-0ubuntu1~22.10.1
22.04 jammy aspnetcore-runtime-6.0 –  6.0.118-0ubuntu1~22.04.1
dotnet-hostfxr-7.0 –  7.0.107-0ubuntu1~22.04.1
dotnet-hostfxr-6.0 –  6.0.118-0ubuntu1~22.04.1
dotnet-host –  6.0.118-0ubuntu1~22.04.1
aspnetcore-runtime-7.0 –  7.0.107-0ubuntu1~22.04.1
dotnet-sdk-6.0 –  6.0.118-0ubuntu1~22.04.1
dotnet-sdk-7.0 –  7.0.107-0ubuntu1~22.04.1
dotnet6 –  6.0.118-0ubuntu1~22.04.1
dotnet7 –  7.0.107-0ubuntu1~22.04.1
dotnet-runtime-7.0 –  7.0.107-0ubuntu1~22.04.1
dotnet-runtime-6.0 –  6.0.118-0ubuntu1~22.04.1
dotnet-host-7.0 –  7.0.107-0ubuntu1~22.04.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›