Remote Code Execution (RCE) Affecting microsoft.net.build.containers package, versions [,7.0.307)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.49% (76th 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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MICROSOFTNETBUILDCONTAINERS-5831351
  • published9 Aug 2023
  • disclosed8 Aug 2023
  • creditycdxsb

Introduced: 8 Aug 2023

CVE-2023-35390  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Microsoft.NET.Build.Containers to version 7.0.307 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) when some dotnet commands are used in directories with weaker permissions which can result in remote code execution.

An attacker would first have to log on to the system to exploit this vulnerability. An attacker could then run a specially crafted application to exploit the vulnerability and take control of an affected system. Additionally, an attacker could convince a local user to open a malicious file. The attacker would have to convince the user to click a link, typically through an enticement in an email or instant message, and then convince them to open the specially crafted file.

References

CVSS Scores

version 3.1