{"id":"UBUNTU-CVE-2025-21173","details":".NET Elevation of Privilege Vulnerability","modified":"2026-02-04T03:59:20.668122Z","published":"2025-01-15T00:00:00Z","related":["USN-7210-1"],"upstream":["CVE-2025-21173"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-21173"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-21173"},{"type":"REPORT","url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21173"},{"type":"REPORT","url":"https://devblogs.microsoft.com/dotnet/net-and-net-framework-january-2025-servicing-releases-updates/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7210-1"}],"affected":[{"package":{"name":"dotnet6","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dotnet6@6.0.136-0ubuntu1~22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.108-0ubuntu1~22.04.1","6.0.109-0ubuntu1~22.04.1","6.0.110-0ubuntu1~22.04.1","6.0.111-0ubuntu1~22.04.1","6.0.113-0ubuntu1~22.04.1","6.0.116-0ubuntu1~22.04.1","6.0.118-0ubuntu1~22.04.1","6.0.119-0ubuntu1~22.04.1","6.0.120-0ubuntu1~22.04.1","6.0.121-0ubuntu1~22.04.1","6.0.122-0ubuntu1~22.04.1","6.0.123-0ubuntu1~22.04.1","6.0.124-0ubuntu1~22.04.1","6.0.125-0ubuntu1~22.04.1","6.0.126-0ubuntu1~22.04.1","6.0.127-0ubuntu1~22.04.1","6.0.128-0ubuntu1~22.04.2","6.0.132-0ubuntu1~22.04.1","6.0.133-0ubuntu1~22.04.1","6.0.135-0ubuntu1~22.04.1","6.0.136-0ubuntu1~22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"aspnetcore-runtime-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"aspnetcore-targeting-pack-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-apphost-pack-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-host"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-hostfxr-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-runtime-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-6.0-source-built-artifacts"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-targeting-pack-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet-templates-6.0"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"dotnet6"},{"binary_version":"6.0.136-0ubuntu1~22.04.1","binary_name":"netstandard-targeting-pack-2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-21173.json"}},{"package":{"name":"dotnet7","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dotnet7@7.0.119-0ubuntu1~22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.105-0ubuntu1~22.04.1","7.0.107-0ubuntu1~22.04.1","7.0.108-0ubuntu1~22.04.1","7.0.109-0ubuntu1~22.04.1","7.0.110-0ubuntu1~22.04.1","7.0.111-0ubuntu1~22.04.1","7.0.112-0ubuntu1~22.04.1","7.0.113-0ubuntu1~22.04.1","7.0.114-0ubuntu1~22.04.1","7.0.115-0ubuntu1~22.04.1","7.0.116-0ubuntu1~22.04.1","7.0.117-0ubuntu1~22.04.1","7.0.117-0ubuntu1~22.04.2","7.0.119-0ubuntu1~22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"aspnetcore-runtime-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"aspnetcore-targeting-pack-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-apphost-pack-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-host-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-hostfxr-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-runtime-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-7.0-source-built-artifacts"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-targeting-pack-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet-templates-7.0"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"dotnet7"},{"binary_version":"7.0.119-0ubuntu1~22.04.1","binary_name":"netstandard-targeting-pack-2.1-7.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-21173.json"}},{"package":{"name":"dotnet8","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dotnet8@8.0.112-8.0.12-0ubuntu1~22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.112-8.0.12-0ubuntu1~22.04.1"}]}],"versions":["8.0.102-8.0.2-0ubuntu1~22.04.1","8.0.103-8.0.3-0ubuntu1~22.04.1","8.0.103-8.0.3-0ubuntu1~22.04.2","8.0.105-8.0.5-0ubuntu1~22.04.1","8.0.107-8.0.7-0ubuntu1~22.04.1","8.0.108-8.0.8-0ubuntu1~22.04.1","8.0.110-8.0.10-0ubuntu1~22.04.1","8.0.111-8.0.11-0ubuntu1~22.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"aspnetcore-runtime-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"aspnetcore-runtime-dbg-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"aspnetcore-targeting-pack-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet-apphost-pack-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet-host-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet-hostfxr-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet-runtime-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet-runtime-dbg-8.0"},{"binary_version":"8.0.112-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-8.0"},{"binary_version":"8.0.112-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-8.0-source-built-artifacts"},{"binary_version":"8.0.112-0ubuntu1~22.04.1","binary_name":"dotnet-sdk-dbg-8.0"},{"binary_version":"8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet-targeting-pack-8.0"},{"binary_version":"8.0.112-0ubuntu1~22.04.1","binary_name":"dotnet-templates-8.0"},{"binary_version":"8.0.112-8.0.12-0ubuntu1~22.04.1","binary_name":"dotnet8"},{"binary_version":"8.0.112-0ubuntu1~22.04.1","binary_name":"netstandard-targeting-pack-2.1-8.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-21173.json"}},{"package":{"name":"dotnet8","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/dotnet8@8.0.112-8.0.12-0ubuntu1~24.04.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.112-8.0.12-0ubuntu1~24.04.1"}]}],"versions":["8.0.100-8.0.0~rc1-0ubuntu1","8.0.100-8.0.0~rc2-0ubuntu1","8.0.100-8.0.0~rc2-0ubuntu2","8.0.100-8.0.0-0ubuntu1","8.0.100-8.0.0-0ubuntu2","8.0.101-8.0.1-0ubuntu1","8.0.101-8.0.1-0ubuntu2","8.0.102-8.0.2-0ubuntu1","8.0.103-8.0.3-0ubuntu2","8.0.103-8.0.3-0ubuntu3","8.0.104-8.0.4-0ubuntu1","8.0.105-8.0.5-0ubuntu1~24.04.1","8.0.107-8.0.7-0ubuntu1~24.04.1","8.0.108-8.0.8-0ubuntu1~24.04.1","8.0.108-8.0.8-0ubuntu1~24.04.2","8.0.110-8.0.10-0ubuntu1~24.04.1","8.0.111-8.0.11-0ubuntu1~24.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"aspnetcore-runtime-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"aspnetcore-runtime-dbg-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"aspnetcore-targeting-pack-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet-apphost-pack-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet-host-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet-hostfxr-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet-runtime-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet-runtime-dbg-8.0"},{"binary_version":"8.0.112-0ubuntu1~24.04.1","binary_name":"dotnet-sdk-8.0"},{"binary_version":"8.0.112-0ubuntu1~24.04.1","binary_name":"dotnet-sdk-8.0-source-built-artifacts"},{"binary_version":"8.0.112-0ubuntu1~24.04.1","binary_name":"dotnet-sdk-dbg-8.0"},{"binary_version":"8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet-targeting-pack-8.0"},{"binary_version":"8.0.112-0ubuntu1~24.04.1","binary_name":"dotnet-templates-8.0"},{"binary_version":"8.0.112-8.0.12-0ubuntu1~24.04.1","binary_name":"dotnet8"},{"binary_version":"8.0.112-0ubuntu1~24.04.1","binary_name":"netstandard-targeting-pack-2.1-8.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-21173.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}