CVE-2019-1258: Microsoft.identitymodel.clients.activedirectory Vulnerability Vulnerability
HIGHCVE-2019-1258 is a HIGH (CVSS 8.8) vulnerability vulnerability (General Security Weakness) affecting Microsoft.identitymodel.clients.activedirectory libraries in the NuGet ecosystem. The issue involves vulnerability in azure active directory authentication library. Remediation is available by upgrading affected packages to version 5.2.0.
CVE-2019-1258 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-1258
To remediate this vulnerability, upgrade all affected Microsoft.identitymodel.clients.activedirectory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade microsoft.identitymodel.clients.activedirectory to 5.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for microsoft.identitymodel.clients.activedirectory
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-1258, inspect your project dependencies for Microsoft.identitymodel.clients.activedirectory:
inspect dependencies for microsoft.identitymodel.clients.activedirectory
Analyze the terminal output to locate any version of Microsoft.identitymodel.clients.activedirectory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.0), 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 General Security Weakness. In Microsoft.identitymodel.clients.activedirectory, 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
CVE-2019-1258 Affected Microsoft.identitymodel.clients.activedirectory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
microsoft.identitymodel.clients.activedirectory
|
NuGet |
≥ 5.0.0
< 5.2.0
|
5.2.0
|
References
Frequently Asked Questions
What is CVE-2019-1258?
Which Microsoft.identitymodel.clients.activedirectory versions are affected?
What version fixes CVE-2019-1258?
Is microsoft.identitymodel.clients.activedirectory affected?
What is the CVSS score of CVE-2019-1258?
What CWE is associated with CVE-2019-1258?
How can I check NuGet dependencies for CVE-2019-1258?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xc6x-cq47-9chw",
"modified" : "2024-05-31T21:10:03Z",
"published" : "2019-08-16T14:03:35Z",
"aliases" : [ "CVE-2019-1258" ],
"summary" : "Vulnerability in Azure Active Directory Authentication Library",
"details" : "An elevation of privilege vulnerability exists in Azure Active Directory Authentication Library On-Behalf-Of flow, in the way the library caches tokens, aka 'Azure Active Directory Authentication Library Elevation of Privilege Vulnerability'.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "microsoft.identitymodel.clients.activedirectory"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.2.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.1.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1258"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AzureAD/azure-activedirectory-library-for-dotnet"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1258"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-08-15T15:29:27Z",
"nvd_published_at" : "2019-08-14T21:15:19Z"
}
}