Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump SqlClient to 5.1.3 and Npgsql to 8.0.3 #140

Closed
ameliagherdan opened this issue May 23, 2024 · 5 comments · May be fixed by #142
Closed

Bump SqlClient to 5.1.3 and Npgsql to 8.0.3 #140

ameliagherdan opened this issue May 23, 2024 · 5 comments · May be fixed by #142

Comments

@ameliagherdan
Copy link

ameliagherdan commented May 23, 2024

Current versions:

  • Microsoft.Data.SqlClient" Version="4.0.5"
  • Npgsql" Version="6.0.2

Contain vulnerabilities, please upgrade these 2 packages.

Suggested versions:

  • Microsoft.Data.SqlClient" Version="5.1.3"
  • Npgsql" Version="8.0.3"
@ameliagherdan
Copy link
Author

@jbogard - Hello, please take a look

@jbogard
Copy link
Owner

jbogard commented May 23, 2024

I don't see any published vulnerabilities for the first package. And the second is for tests, I don't care about that since it's never published.

@ameliagherdan
Copy link
Author

You're right.
A vulnerability has been identified in Microsoft.Data.SqlClient by a security tool, but it has not been confirmed by other sources.

@jellebuitenhuisis
Copy link

jellebuitenhuisis commented Aug 1, 2024

You are referencing Microsoft.Data.SqlClient version 4.0.5.
Version 4.0.5 references Azure.Identity 1.3.0.

Version 1.3.0 of Azure.Identity does have a vulnerability. I would still recommend upgrading Microsoft.Data.SqlClient. The earliest fix for this is in version 5.1.4, the vulnerability is also addressed in the release notes.

On top of this, version 4.0.5 of Microsoft.Data.SqlClient references version 6.8.0 of Microsoft.IdentityModel.JsonWebTokens. This has been fixed in version 5.1.5.

@jbogard
Copy link
Owner

jbogard commented Aug 1, 2024

I only address CVEs for direct dependencies (aka ones that dependabot catches). Not transitive dependencies. End users can upgrade their transitive dependencies.

@jbogard jbogard closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants