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 Npgsql from 8.0.0 to 8.0.3 in /src/HealthChecks.NpgSql #2213

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 9, 2024

Bumps Npgsql from 8.0.0 to 8.0.3.

Release notes

Sourced from Npgsql's releases.

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.

v8.0.2

8.0.2 contains quite a few fixes, everyone is strongly encouraged to upgrade.

The full list of changes is available here.

v8.0.1

8.0.1 contains some important fixes discovered after releasing 8.0.0. Everyone is encouraged to upgrade.

The full list of changes is available here.

Commits

Dependabot compatibility score

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 commands and options

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bumps [Npgsql](https://github.com/npgsql/npgsql) from 8.0.0 to 8.0.3.
- [Release notes](https://github.com/npgsql/npgsql/releases)
- [Commits](npgsql/npgsql@v8.0.0...v8.0.3)

---
updated-dependencies:
- dependency-name: Npgsql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels May 9, 2024
@github-actions github-actions bot added the npgsql label May 9, 2024
@prom3theu5
Copy link

Can this be actioned please, There is a CVE for versions lower than 8.0.3

Vulnerable Library - aspnetcore.healthchecks.npgsql.8.0.1.nupkg

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (aspnetcore.healthchecks.npgsql.8.0.1.nupkg version) Remediation Possible**
CVE-2024-32655 High 8.1 npgsql.8.0.0.nupkg Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-32655

Vulnerable Library - npgsql.8.0.0.nupkg

Npgsql is the open source .NET data provider for PostgreSQL.

Library home page: https://api.nuget.org/packages/npgsql.8.0.0.nupkg

Vulnerability Details

Npgsql is the .NET data provider for PostgreSQL. In 8.0.2 and earlier, 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.

Publish Date: 2024-05-09

URL: CVE-2024-32655

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-32655

Release Date: 2024-05-09

Fix Resolution: Npgsql - 4.0.14,4.1.13,5.0.18,6.0.11,7.0.7,8.0.3

@Alirexaa Alirexaa added this to the V 8.1 milestone Jun 21, 2024
@Alirexaa Alirexaa merged commit e4a2b70 into master Jul 26, 2024
3 checks passed
@Alirexaa Alirexaa deleted the dependabot/nuget/src/HealthChecks.NpgSql/Npgsql-8.0.3 branch July 26, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code npgsql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants