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

chore(deps): update dependency npgsql to 8.0.3 [security] #861

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marvin-serp-bot
Copy link
Contributor

@marvin-serp-bot marvin-serp-bot commented Oct 9, 2024

This PR contains the following updates:

Package Type Update Change
Npgsql nuget patch 8.0.2 -> 8.0.3

GitHub Vulnerability Alerts

CVE-2024-32655

Summary

The WriteBind() method in src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs uses int variables to store the message length and the sum of parameter lengths. Both variables overflow when the sum of parameter lengths becomes too large.

This causes Npgsql to write a message size that is too small when constructing a Postgres protocol message to send it over the network to the database. When parsing the message, the database will only read a small number of bytes and treat any following bytes as new messages while they belong to the old message.

Attackers can abuse this to inject arbitrary Postgres protocol messages into the connection, leading to the execution of arbitrary SQL statements on the application's behalf.

Impact

Attackers can issue arbitrary SQL statements to the database on behalf of the application. The final impact depends on the application that uses Npgsql, the data it stores in Postgres, etc.


Release Notes

npgsql/npgsql (Npgsql)

v8.0.3

This version contains a high-severity security patch for CVE-2024-32655 everyone is advised to upgrade.

A large number of number of bugs have been fixed, here is the full list.

Thanks to @​paul-gerste-sonarsource for reporting the vulnerability.


Configuration

📅 Schedule: Branch creation - "" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

github-actions bot commented Oct 9, 2024

✒️ PR Title Commitlint - ✔️ Lint success!

@marvin-serp-bot marvin-serp-bot force-pushed the upgrade/nuget-npgsql-vulnerability branch from a5a1565 to fc3e173 Compare October 9, 2024 23:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Oct 11, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch October 11, 2024 07:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Oct 11, 2024
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch October 11, 2024 08:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Oct 12, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch October 12, 2024 04:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Oct 12, 2024
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch October 12, 2024 05:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Oct 12, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch October 12, 2024 16:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Oct 12, 2024
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch October 12, 2024 17:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Oct 12, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch October 12, 2024 19:05
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch October 12, 2024 20:04
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Oct 12, 2024
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Oct 13, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch October 13, 2024 04:06
@marvin-serp-bot marvin-serp-bot force-pushed the upgrade/nuget-npgsql-vulnerability branch from 0784384 to 468a062 Compare December 12, 2024 19:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Dec 13, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch December 13, 2024 10:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Dec 13, 2024
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch December 13, 2024 11:05
@marvin-serp-bot marvin-serp-bot force-pushed the upgrade/nuget-npgsql-vulnerability branch 2 times, most recently from b678b77 to 4027f71 Compare December 13, 2024 13:12
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Dec 13, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch December 13, 2024 15:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Dec 13, 2024
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch December 13, 2024 16:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Dec 14, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch December 14, 2024 23:05
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch December 15, 2024 00:19
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Dec 15, 2024
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed Dec 15, 2024
@marvin-serp-bot marvin-serp-bot deleted the upgrade/nuget-npgsql-vulnerability branch December 15, 2024 10:06
@marvin-serp-bot marvin-serp-bot restored the upgrade/nuget-npgsql-vulnerability branch December 15, 2024 11:04
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency npgsql to 8.0.3 [security] - autoclosed chore(deps): update dependency npgsql to 8.0.3 [security] Dec 15, 2024
@marvin-serp-bot marvin-serp-bot force-pushed the upgrade/nuget-npgsql-vulnerability branch from 4027f71 to d03178a Compare January 7, 2025 13:09
@marvin-serp-bot marvin-serp-bot force-pushed the upgrade/nuget-npgsql-vulnerability branch from d03178a to e06fab8 Compare January 9, 2025 14:06
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.

2 participants