Advisory

USN-7210-1

Also known as: CVE-2025-21171, CVE-2025-21172, CVE-2025-21173, CVE-2025-21176

Summary

dotnet8, dotnet9 vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2025-01-16 12:30 UTC
Modified
2026-02-10 04:46 UTC

Affected packages and fixes

dotnet8

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.0.112-8.0.12-0ubuntu1~22.04.1 (ecosystem)

Fixed versions

8.0.112-8.0.12-0ubuntu1~22.04.1

Fix

  • Fixed version 8.0.112-8.0.12-0ubuntu1~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dotnet8

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.0.112-8.0.12-0ubuntu1~24.04.1 (ecosystem)

Fixed versions

8.0.112-8.0.12-0ubuntu1~24.04.1

Fix

  • Fixed version 8.0.112-8.0.12-0ubuntu1~24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences