Remote Code Execution (RCE) Affecting microsoft.aspnetcore.spaservices package, versions [2.1.0,2.1.2)[2.2.0,2.2.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
9.91% (93rd 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-MICROSOFTASPNETCORESPASERVICES-466519
  • published11 Sept 2019
  • disclosed10 Sept 2019
  • creditIan Routledge (@ediblecode)

Introduced: 10 Sep 2019

CVE-2019-1302  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade Microsoft.AspNetCore.SpaServices to version 2.1.2, 2.2.1 or higher.

Overview

Microsoft.AspNetCore.SpaServices is a package Helpers for building single-page applications on ASP.NET MVC Core.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). When a WebApp is created using vulnerable project templates, fails to properly sanitize requests. An attacker who successfully exploited this vulnerability could perform content injection attacks and run script in the security context of the logged-on user.

CVSS Base Scores

version 3.1