Ubuntu update for dotnet8



Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2025-21171
CVE-2025-21172
CVE-2025-21173
CVE-2025-21176
CWE-ID CWE-122
CWE-190
CWE-379
CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

dotnet9 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet8 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-sdk-9.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-sdk-8.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-runtime-9.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-runtime-8.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-hostfxr-9.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-hostfxr-8.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-host-9.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

dotnet-host-8.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

aspnetcore-runtime-9.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

aspnetcore-runtime-8.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU102801

Risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-21171

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in .NET. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package dotnet8 to the latest version.

Vulnerable software versions

Ubuntu: 22.04 - 24.10

dotnet9 (Ubuntu package): before 9.0.102-9.0.1-0ubuntu1~24.10.1

dotnet8 (Ubuntu package): before 8.0.112-8.0.12-0ubuntu1~22.04.1

dotnet-sdk-9.0 (Ubuntu package): before 9.0.102-0ubuntu1~24.10.1

dotnet-sdk-8.0 (Ubuntu package): before 8.0.112-0ubuntu1~22.04.1

dotnet-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-hostfxr-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-hostfxr-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-host-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-host-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

aspnetcore-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

aspnetcore-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Integer overflow

EUVDB-ID: #VU102804

Risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-21172

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in .NET and Visual Studio. A remote attacker can trick a victim to open a specially crafted file, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package dotnet8 to the latest version.

Vulnerable software versions

Ubuntu: 22.04 - 24.10

dotnet9 (Ubuntu package): before 9.0.102-9.0.1-0ubuntu1~24.10.1

dotnet8 (Ubuntu package): before 8.0.112-8.0.12-0ubuntu1~22.04.1

dotnet-sdk-9.0 (Ubuntu package): before 9.0.102-0ubuntu1~24.10.1

dotnet-sdk-8.0 (Ubuntu package): before 8.0.112-0ubuntu1~22.04.1

dotnet-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-hostfxr-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-hostfxr-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-host-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-host-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

aspnetcore-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

aspnetcore-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Creation of temporary file in directory with insecure permissions

EUVDB-ID: #VU102800

Risk: Low

CVSSv4.0: 4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2025-21173

CWE-ID: CWE-379 - Creation of Temporary File in Directory with Insecure Permissions

Exploit availability: No

Description

The vulnerability allows a local user to escalate privilege on the target system.

The vulnerability exists due to creation of temporary file in directory with insecure permissions in .NET. A local user can overwrite arbitrary file content and gain elevated privileges on the system.

Mitigation

Update the affected package dotnet8 to the latest version.

Vulnerable software versions

Ubuntu: 22.04 - 24.10

dotnet9 (Ubuntu package): before 9.0.102-9.0.1-0ubuntu1~24.10.1

dotnet8 (Ubuntu package): before 8.0.112-8.0.12-0ubuntu1~22.04.1

dotnet-sdk-9.0 (Ubuntu package): before 9.0.102-0ubuntu1~24.10.1

dotnet-sdk-8.0 (Ubuntu package): before 8.0.112-0ubuntu1~22.04.1

dotnet-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-hostfxr-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-hostfxr-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-host-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-host-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

aspnetcore-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

aspnetcore-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Out-of-bounds read

EUVDB-ID: #VU102784

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2025-21176

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in .NET, .NET Framework and Visual Studio. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system, leading to arbitrary code execution.

Mitigation

Update the affected package dotnet8 to the latest version.

Vulnerable software versions

Ubuntu: 22.04 - 24.10

dotnet9 (Ubuntu package): before 9.0.102-9.0.1-0ubuntu1~24.10.1

dotnet8 (Ubuntu package): before 8.0.112-8.0.12-0ubuntu1~22.04.1

dotnet-sdk-9.0 (Ubuntu package): before 9.0.102-0ubuntu1~24.10.1

dotnet-sdk-8.0 (Ubuntu package): before 8.0.112-0ubuntu1~22.04.1

dotnet-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-hostfxr-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-hostfxr-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

dotnet-host-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

dotnet-host-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

aspnetcore-runtime-9.0 (Ubuntu package): before 9.0.1-0ubuntu1~24.10.1

aspnetcore-runtime-8.0 (Ubuntu package): before 8.0.12-0ubuntu1~22.04.1

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###