Vulnerabilities in pkg:nuget/Microsoft.Rest.ClientRuntime
PACKAGECVE-2022-26907 is a MODERATE (CVSS 5.3) azure sdk for .net information vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Microsoft.Rest.ClientRuntime libraries in the NuGet ecosystem. The issue involves azure sdk for .net information disclosure vulnerability.. Remediation is available by upgrading affected packages to version 2.3.24.
pkg:nuget/Microsoft.Rest.ClientRuntime
Vulnerability advisories affecting package pkg:nuget/Microsoft.Rest.ClientRuntime. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-whph-446h-6m9v | CVE-2022-26907 | MODERATE | Azure SDK for .NET Information Disclosure Vulnerability. |
CVE-2022-26907 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-26907
To remediate this vulnerability, upgrade all affected Microsoft.Rest.ClientRuntime 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.Rest.ClientRuntime to 2.3.24
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Microsoft.Rest.ClientRuntime
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-26907, inspect your project dependencies for Microsoft.Rest.ClientRuntime:
inspect dependencies for Microsoft.Rest.ClientRuntime
Analyze the terminal output to locate any version of Microsoft.Rest.ClientRuntime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.24), 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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Microsoft.Rest.ClientRuntime, 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-2022-26907 Affected Microsoft.Rest.ClientRuntime Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.Rest.ClientRuntime
|
NuGet |
< 2.3.24
|
2.3.24
|
References
Frequently Asked Questions
What is CVE-2022-26907?
Which Microsoft.Rest.ClientRuntime versions are affected?
What version fixes CVE-2022-26907?
Is Microsoft.Rest.ClientRuntime affected?
What is the CVSS score of CVE-2022-26907?
What CWE is associated with CVE-2022-26907?
How can I check NuGet dependencies for CVE-2022-26907?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-whph-446h-6m9v",
"modified" : "2023-08-03T19:30:54Z",
"published" : "2022-04-16T00:00:28Z",
"aliases" : [ "CVE-2022-26907" ],
"summary" : "Azure SDK for .NET Information Disclosure Vulnerability.",
"details" : "Azure SDK for .NET Information Disclosure Vulnerability via undisclosed methods relating to lack of sanitization of exception messages.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.Rest.ClientRuntime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.24"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-26907"
}, {
"type" : "WEB",
"url" : "https://github.com/Azure/azure-sdk-for-net/pull/28169"
}, {
"type" : "WEB",
"url" : "https://github.com/Azure/azure-sdk-for-net/commit/e67f2a9fc5aa1060bd465d1458c347671268f6f5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Azure/azure-sdk-for-net"
}, {
"type" : "WEB",
"url" : "https://github.com/Azure/azure-sdk-for-net/blob/a919c48ae294fed084a9679b6f53ac6af3fb4c3a/sdk/mgmtcommon/ClientRuntime/ClientRuntime/Microsoft.Rest.ClientRuntime.csproj#L11"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26907"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-26907"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-07T21:30:44Z",
"nvd_published_at" : "2022-04-15T19:15:00Z"
}
}