Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Microsoft.Identity.Abstractions
  4. ›
  5. CVE-2025-32016

CVE-2025-32016: Microsoft Identity Web Exposes Client Secrets and Certificate Information in Service Logs

April 9, 2025

What kind of vulnerability is it? Who is impacted?

Description: This vulnerability affects confidential client applications, including daemons, web apps, and web APIs. Under specific circumstances, sensitive information such as client secrets or certificate details may be exposed in the service logs of these applications. Service logs are intended to be handled securely.

Impact: The vulnerability impacts service logs that meet the following criteria:

  • Logging Level: Logs are generated at the information level.
  • Credential Descriptions: containing:
  • Local file paths with passwords.
  • Base64 encoded values.
  • Client secret.

Additionally, logs of services using Base64 encoded certificates or certificate paths with password credential descriptions are also affected if the certificates are invalid or expired, regardless of the log level. Note that these credentials are not usable due to their invalid or expired status.

If your service logs are handled securely, you are not impacted.

Otherwise, the following table shows when you can be impacted

Log Level Information for Microsoft.Identity.WebInvalid Certificate
One of the ClientCredentials credential description has a CredentialSource = Base64Encoded or (CredentialSource = Path)ImpactedImpacted
One of the ClientCredentials credential description is a Client secret (CredentialSource = ClientSecret)ImpactedNot impacted
Other credential descriptionsNot ImpactedNot Impacted

References

  • github.com/AzureAD/microsoft-identity-web
  • github.com/AzureAD/microsoft-identity-web/security/advisories/GHSA-rpq8-q44m-2rpg
  • github.com/advisories/GHSA-rpq8-q44m-2rpg
  • nvd.nist.gov/vuln/detail/CVE-2025-32016

Code Behaviors & Features

Detect and mitigate CVE-2025-32016 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.1.0 before 9.0.0

Fixed versions

  • 9.0.0

Solution

Upgrade to version 9.0.0 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

nuget/Microsoft.Identity.Abstractions/CVE-2025-32016.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.