Improper Control of Generation of Code ('Code Injection') Affecting microsoft.windowsdesktop.app.runtime.win-arm64 package, versions [,6.0.29)[7.0.0,7.0.18)[8.0.0,8.0.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Control of Generation of Code ('Code Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MICROSOFTWINDOWSDESKTOPAPPRUNTIMEWINARM64-6594462
  • published10 Apr 2024
  • disclosed9 Apr 2024
  • creditwh1tc, Zhiniang Peng

Introduced: 9 Apr 2024

CVE-2024-21409  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Microsoft.WindowsDesktop.App.Runtime.win-arm64 to version 6.0.29, 7.0.18, 8.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') due to improper handling of object lifecycles during the failure of CPimcManager object creation. An attacker can execute arbitrary code on the target system by convincing a user to open a specially crafted file or application.

CVSS Scores

version 3.1