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

build(deps): bump github.com/jackc/pgx/v4 from 4.12.0 to 4.18.2 #8987

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2024

Bumps github.com/jackc/pgx/v4 from 4.12.0 to 4.18.2.

Changelog

Sourced from github.com/jackc/pgx/v4's changelog.

4.18.2 (March 4, 2024)

Fix CVE-2024-27289

SQL injection can occur when all of the following conditions are met:

  1. The non-default simple protocol is used.
  2. A placeholder for a numeric value must be immediately preceded by a minus.
  3. There must be a second placeholder for a string value after the first placeholder; both must be on the same line.
  4. Both parameter values must be user-controlled.

Thanks to Paul Gerste for reporting this issue.

Fix CVE-2024-27304

SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control.

Thanks to Paul Gerste for reporting this issue.

  • Fix *dbTx.Exec not checking if it is already closed

4.18.1 (February 27, 2023)

  • Fix: Support pgx v4 and v5 stdlib in same program (Tomáš Procházka)

4.18.0 (February 11, 2023)

  • Upgrade pgconn to v1.14.0
  • Upgrade pgproto3 to v2.3.2
  • Upgrade pgtype to v1.14.0
  • Fix query sanitizer when query text contains Unicode replacement character
  • Fix context with value in BeforeConnect (David Harju)
  • Support pgx v4 and v5 stdlib in same program (Vitalii Solodilov)

4.17.2 (September 3, 2022)

  • Fix panic when logging batch error (Tom Möller)

4.17.1 (August 27, 2022)

  • Upgrade puddle to v1.3.0 - fixes context failing to cancel Acquire when acquire is creating resource which was introduced in v4.17.0 (James Hartig)
  • Fix atomic alignment on 32-bit platforms

4.17.0 (August 6, 2022)

  • Upgrade pgconn to v1.13.0
  • Upgrade pgproto3 to v2.3.1
  • Upgrade pgtype to v1.12.0

... (truncated)

Commits
  • 14690df Update changelog
  • 779548e Update required Go version to 1.17
  • 80e9662 Update github.com/jackc/pgconn to v1.14.3
  • 0bf9ac3 Fix erroneous test case
  • f94eb0e Always wrap arguments in parentheses in the SQL sanitizer
  • 826a892 Fix SQL injection via line comment creation in simple protocol
  • 7d882f9 Fix *dbTx.Exec not checking if it is already closed
  • 1d07b8b go mod tidy
  • 13468eb Release v4.18.1
  • 7fed69b simplify duplicate pgx registration guard
  • Additional commits viewable in compare view

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.

@dependabot dependabot bot requested a review from a team as a code owner March 12, 2024 15:18
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 12, 2024
@cla-bot cla-bot bot added the cla-signed label Mar 12, 2024
Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 187a8a7
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/65fc6e6c4fd0820008a4ba0c

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.80%. Comparing base (c811947) to head (187a8a7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8987      +/-   ##
==========================================
- Coverage   47.82%   47.80%   -0.02%     
==========================================
  Files        1161     1161              
  Lines      143646   143646              
  Branches     2371     2373       +2     
==========================================
- Hits        68696    68670      -26     
- Misses      74797    74823      +26     
  Partials      153      153              
Flag Coverage Δ
backend 42.93% <ø> (-0.07%) ⬇️
harness 63.84% <ø> (ø)
web 40.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 7 files with indirect coverage changes

Copy link
Contributor

@amandavialva01 amandavialva01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@amandavialva01
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2 branch from 41f9549 to 66155aa Compare March 12, 2024 20:11
@amandavialva01 amandavialva01 force-pushed the dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2 branch from 66155aa to db5ceb3 Compare March 18, 2024 16:46
@dependabot dependabot bot requested review from a team as code owners March 18, 2024 16:46
@determined-ci determined-ci requested a review from a team March 18, 2024 16:46
@determined-ci
Copy link
Collaborator

Docsite preview being generated for this PR.
You can (eventually) find the generated docsite here.

@determined-ci determined-ci added the documentation Improvements or additions to documentation label Mar 18, 2024
@amandavialva01 amandavialva01 force-pushed the dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2 branch from db5ceb3 to 66155aa Compare March 18, 2024 16:58
@determined-ci determined-ci removed the documentation Improvements or additions to documentation label Mar 18, 2024
@amandavialva01 amandavialva01 removed request for a team and ioga March 18, 2024 17:24
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2 branch from 66155aa to 300c3e4 Compare March 20, 2024 18:26
@amandavialva01
Copy link
Contributor

@dependabot rebase

Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.12.0 to 4.18.2.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md)
- [Commits](jackc/pgx@v4.12.0...v4.18.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2 branch from 300c3e4 to 187a8a7 Compare March 21, 2024 17:29
@amandavialva01 amandavialva01 enabled auto-merge (squash) March 21, 2024 17:35
@amandavialva01 amandavialva01 merged commit f6b9ac8 into main Mar 21, 2024
67 of 81 checks passed
@amandavialva01 amandavialva01 deleted the dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2 branch March 21, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants