Unprotected Storage of Credentials Affecting system.data.sqlclient package, versions [,4.8.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (24th 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 IDSNYK-DOTNET-SYSTEMDATASQLCLIENT-6149433
  • published10 Jan 2024
  • disclosed9 Jan 2024
  • creditVishal Mishra, Anita Gaud

Introduced: 9 Jan 2024

CVE-2024-0056  (opens in a new tab)
CWE-420  (opens in a new tab)

How to fix?

Upgrade System.Data.SqlClient to version 4.8.6 or higher.

Overview

Affected versions of this package are vulnerable to Unprotected Storage of Credentials. An attacker can steal authentication credentials intended for the database server by performing an adversary-in-the-middle attack between the SQL client and the SQL server, even if the connection is established over an encrypted channel like TLS.

CVSS Scores

version 3.1