USN-6161-2: .NET regression

Publication date

23 June 2023

Overview

USN 6161-1 introduced a regression in .NET that could incorrectly cause X.509 certificate imports to fail when they should succeed.


Packages

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

Details

USN-6161-1 fixed vulnerabilities in .NET. The update introduced
a regression with regards to how the runtime imported X.509
certificates. This update fixes the problem.

We apologize for the inconvenience.

Original advisory 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...

USN-6161-1 fixed vulnerabilities in .NET. The update introduced
a regression with regards to how the runtime imported X.509
certificates. This update fixes the problem.

We apologize for the inconvenience.

Original advisory 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. 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.119-0ubuntu1~23.04.1
dotnet-hostfxr-7.0 –  7.0.108-0ubuntu1~23.04.1
dotnet-hostfxr-6.0 –  6.0.119-0ubuntu1~23.04.1
dotnet-host –  6.0.119-0ubuntu1~23.04.1
aspnetcore-runtime-7.0 –  7.0.108-0ubuntu1~23.04.1
dotnet-sdk-6.0 –  6.0.119-0ubuntu1~23.04.1
dotnet-sdk-7.0 –  7.0.108-0ubuntu1~23.04.1
dotnet6 –  6.0.119-0ubuntu1~23.04.1
dotnet7 –  7.0.108-0ubuntu1~23.04.1
dotnet-runtime-7.0 –  7.0.108-0ubuntu1~23.04.1
dotnet-runtime-6.0 –  6.0.119-0ubuntu1~23.04.1
dotnet-host-7.0 –  7.0.108-0ubuntu1~23.04.1
22.10 kinetic aspnetcore-runtime-6.0 –  6.0.119-0ubuntu1~22.10.1
dotnet-hostfxr-7.0 –  7.0.108-0ubuntu1~22.10.1
dotnet-hostfxr-6.0 –  6.0.119-0ubuntu1~22.10.1
dotnet-host –  6.0.119-0ubuntu1~22.10.1
aspnetcore-runtime-7.0 –  7.0.108-0ubuntu1~22.10.1
dotnet-sdk-6.0 –  6.0.119-0ubuntu1~22.10.1
dotnet-sdk-7.0 –  7.0.108-0ubuntu1~22.10.1
dotnet6 –  6.0.119-0ubuntu1~22.10.1
dotnet7 –  7.0.108-0ubuntu1~22.10.1
dotnet-runtime-7.0 –  7.0.108-0ubuntu1~22.10.1
dotnet-runtime-6.0 –  6.0.119-0ubuntu1~22.10.1
dotnet-host-7.0 –  7.0.108-0ubuntu1~22.10.1
22.04 jammy aspnetcore-runtime-6.0 –  6.0.119-0ubuntu1~22.04.1
dotnet-hostfxr-7.0 –  7.0.108-0ubuntu1~22.04.1
dotnet-hostfxr-6.0 –  6.0.119-0ubuntu1~22.04.1
dotnet-host –  6.0.119-0ubuntu1~22.04.1
aspnetcore-runtime-7.0 –  7.0.108-0ubuntu1~22.04.1
dotnet-sdk-6.0 –  6.0.119-0ubuntu1~22.04.1
dotnet-sdk-7.0 –  7.0.108-0ubuntu1~22.04.1
dotnet6 –  6.0.119-0ubuntu1~22.04.1
dotnet7 –  7.0.108-0ubuntu1~22.04.1
dotnet-runtime-7.0 –  7.0.108-0ubuntu1~22.04.1
dotnet-runtime-6.0 –  6.0.119-0ubuntu1~22.04.1
dotnet-host-7.0 –  7.0.108-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 ›