Skip to content

Update Microsoft.Data.SqlClient to 5.1.4 to address CVE-2023-36414#142

Merged
jbogard merged 2 commits intojbogard:masterfrom
jellebuitenhuisis:patch-sqlclient-vuln
Jan 10, 2025
Merged

Update Microsoft.Data.SqlClient to 5.1.4 to address CVE-2023-36414#142
jbogard merged 2 commits intojbogard:masterfrom
jellebuitenhuisis:patch-sqlclient-vuln

Conversation

@jellebuitenhuisis
Copy link
Contributor

@jellebuitenhuisis jellebuitenhuisis commented Aug 1, 2024

This project is 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.

This fixes #140.

I'd recommend upgrading to 5.1.5 of Microsoft.Data.SqlClient. This fixes CVE-2024-21319 as well as the vulnerability mentioned above. This is mentioned in these release notes as well.

@jbogard jbogard closed this Aug 1, 2024
@Thijmen
Copy link

Thijmen commented Nov 16, 2024

@jbogard any reason for closing this? Can we address #146 otherwise?

@jbogard
Copy link
Owner

jbogard commented Nov 18, 2024

I don't know why I closed this, I usually leave a comment on why I closed it. I think there were older pull requests that were about transitive dependencies with vulnerabilities (which I won't bother fixing, that's on consumers to explicitly add those references). This is a direct dependency which should be updated.

@jbogard jbogard reopened this Nov 18, 2024
@Thijmen
Copy link

Thijmen commented Nov 20, 2024

Cheers @jbogard - is there any ETA on a release with this fix? More than happy to upgrade this package. I'd like to thank you for your time and dedication, the package is a great help!

@AugustTom
Copy link

Hey! Any updates on this? Would be great to fix the vulnerabilities :)

@jbogard jbogard merged commit bb30cbe into jbogard:master Jan 10, 2025
@jellebuitenhuisis jellebuitenhuisis deleted the patch-sqlclient-vuln branch March 4, 2025 15:00
@glen-84
Copy link

glen-84 commented Jun 7, 2025

@jbogard When will this change be released?

github-merge-queue bot pushed a commit to DFE-Digital/teaching-record-system that referenced this pull request Jan 29, 2026
Updated [Respawn](https://github.com/jbogard/Respawn) from 6.2.1 to
7.0.0.

<details>
<summary>Release notes</summary>

_Sourced from [Respawn's
releases](https://github.com/jbogard/Respawn/releases)._

## 7.0.0

## What's Changed
* Bump Npgsql from 6.0.2 to 8.0.3 in /Respawn.DatabaseTests by
@​dependabot[bot] in jbogard/Respawn#138
* Update Microsoft.Data.SqlClient to 5.1.4 to address CVE-2023-36414 by
@​jellebuitenhuisis in jbogard/Respawn#142
* Add support for custom delete statements by @​cervengoc in
jbogard/Respawn#137
* Add ConfigureAwait(false) to async method calls, to prevent potential…
by @​Insire in jbogard/Respawn#136
* support database names containing special characters by @​alexmo16 in
jbogard/Respawn#144
* SqlServer reseed fix for objects with special character in name by
@​flarestudiopl in jbogard/Respawn#149
* Add IBM DB2 support by @​MD-V in
jbogard/Respawn#145
* Remove the `Microsoft.Data.SqlClient` dependency by @​0xced in
jbogard/Respawn#153
* Infer the DbAdapter from the DbConnection by @​0xced in
jbogard/Respawn#151
* Added an IDbAdapter for Snowflake by @​SaiSDET in
jbogard/Respawn#154
* Fix FormatDeleteStatement being ignored by @​0xced in
jbogard/Respawn#155
* Add Sqlite support with SqliteDbAdapter implementation by
@​snowfrogdev in jbogard/Respawn#156
* Fixing build by @​jbogard in
jbogard/Respawn#160
* Removing docker compose; .NET 10 tests by @​jbogard in
jbogard/Respawn#161

## New Contributors
* @​jellebuitenhuisis made their first contribution in
jbogard/Respawn#142
* @​cervengoc made their first contribution in
jbogard/Respawn#137
* @​Insire made their first contribution in
jbogard/Respawn#136
* @​alexmo16 made their first contribution in
jbogard/Respawn#144
* @​flarestudiopl made their first contribution in
jbogard/Respawn#149
* @​MD-V made their first contribution in
jbogard/Respawn#145
* @​0xced made their first contribution in
jbogard/Respawn#153
* @​SaiSDET made their first contribution in
jbogard/Respawn#154
* @​snowfrogdev made their first contribution in
jbogard/Respawn#156

**Full Changelog**:
jbogard/Respawn@v6.2.1...v7.0.0

Commits viewable in [compare
view](jbogard/Respawn@v6.2.1...v7.0.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Respawn&package-manager=nuget&previous-version=6.2.1&new-version=7.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Gunn <james@gunn.io>
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 this pull request may close these issues.

Bump SqlClient to 5.1.3 and Npgsql to 8.0.3

5 participants