CVE-2019-1075: Microsoft.AspNetCore.App Open Redirect Vulnerability

MODERATE
Advisory Identifier: GHSA-prrf-397v-83xh
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-2019-1075 is a MODERATE (CVSS 6.1) open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Microsoft.AspNetCore.App libraries in the NuGet ecosystem. The issue involves open redirect in asp.net core. Remediation is available by upgrading affected packages to version 2.2.6, 2.1.12.

CVE-2019-1075 at a Glance

CVE Identifier CVE-2019-1075
GHSA Identifier GHSA-prrf-397v-83xh
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Microsoft.AspNetCore.App
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2019-1075

To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.App dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Microsoft.AspNetCore.App fixed: 2.2.6
Upgrade Microsoft.AspNetCore.App to 2.2.6
Microsoft.AspNetCore.App fixed: 2.1.12
Upgrade Microsoft.AspNetCore.App to 2.1.12
Microsoft.AspNetCore.All fixed: 2.2.6
Upgrade Microsoft.AspNetCore.All to 2.2.6
Microsoft.AspNetCore.All fixed: 2.1.12
Upgrade Microsoft.AspNetCore.All to 2.1.12
Microsoft.AspNetCore.Server.IIS fixed: 2.2.6
Upgrade Microsoft.AspNetCore.Server.IIS to 2.2.6
Microsoft.AspNetCore.Server.HttpSys fixed: 2.2.6
Upgrade Microsoft.AspNetCore.Server.HttpSys to 2.2.6
Microsoft.AspNetCore.Server.HttpSys fixed: 2.1.12
Upgrade Microsoft.AspNetCore.Server.HttpSys to 2.1.12
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Microsoft.AspNetCore.App

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-1075, inspect your project dependencies for Microsoft.AspNetCore.App:

inspect dependencies for Microsoft.AspNetCore.App

Analyze the terminal output to locate any version of Microsoft.AspNetCore.App in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Microsoft.AspNetCore.App, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A spoofing vulnerability exists in ASP.NET Core that could lead to an open redirect, aka 'ASP.NET Core Spoofing Vulnerability'.

CVE-2019-1075 Affected Microsoft.AspNetCore.App Versions

7 component(s)
Fixed Versions:
2.2.62.1.12
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.AspNetCore.App
NuGet
≥ 2.2.0
< 2.2.6
2.2.6
Microsoft.AspNetCore.App
NuGet
≥ 2.1.0
< 2.1.12
2.1.12
Microsoft.AspNetCore.All
NuGet
≥ 2.2.0
< 2.2.6
2.2.6
Microsoft.AspNetCore.All
NuGet
≥ 2.1.0
< 2.1.12
2.1.12
Microsoft.AspNetCore.Server.IIS
NuGet
≥ 2.2.0
< 2.2.6
2.2.6
Microsoft.AspNetCore.Server.HttpSys
NuGet
≥ 2.2.0
< 2.2.6
2.2.6
Microsoft.AspNetCore.Server.HttpSys
NuGet
≥ 2.1.0
< 2.1.12
2.1.12

References

Frequently Asked Questions

What is CVE-2019-1075?
CVE-2019-1075 is a security vulnerability in Microsoft.AspNetCore.App involving Open redirect in ASP.NET Core under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Microsoft.AspNetCore.App versions are affected?
Affected versions include releases prior to 2.2.6, 2.1.12 across affected packages: Microsoft.AspNetCore.App, Microsoft.AspNetCore.All, Microsoft.AspNetCore.Server.IIS, Microsoft.AspNetCore.Server.HttpSys.
What version fixes CVE-2019-1075?
Upgrading to 2.2.6, 2.1.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.AspNetCore.App affected?
Yes, Microsoft.AspNetCore.App is affected in releases prior to 2.2.6, 2.1.12. Upgrade your dependency to 2.2.6, 2.1.12 or later.
Is Microsoft.AspNetCore.All affected?
Yes, Microsoft.AspNetCore.All is affected in releases prior to 2.2.6, 2.1.12. Upgrade your dependency to 2.2.6, 2.1.12 or later.
What is the CVSS score of CVE-2019-1075?
CVE-2019-1075 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2019-1075?
CVE-2019-1075 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check NuGet dependencies for CVE-2019-1075?
Run the dependency tree command: 'inspect dependencies for Microsoft.AspNetCore.App'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-prrf-397v-83xh",
  "modified" : "2022-07-07T23:23:59Z",
  "published" : "2022-05-24T16:50:19Z",
  "aliases" : [ "CVE-2019-1075" ],
  "summary" : "Open redirect in ASP.NET Core",
  "details" : "A spoofing vulnerability exists in ASP.NET Core that could lead to an open redirect, aka 'ASP.NET Core Spoofing Vulnerability'.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.0"
      }, {
        "fixed" : "2.2.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.All"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.0"
      }, {
        "fixed" : "2.2.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.All"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Server.IIS"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.0"
      }, {
        "fixed" : "2.2.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Server.HttpSys"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.0"
      }, {
        "fixed" : "2.2.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Server.HttpSys"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1075"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aspnet/Announcements/issues/373"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/github/advisory-database/issues/302"
  }, {
    "type" : "WEB",
    "url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1075"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-07T23:23:59Z",
    "nvd_published_at" : "2019-07-15T19:15:00Z"
  }
}