<#421 Bump the go_modules group across 5 directori...
# osctrl
g
#421 Bump the go_modules group across 5 directories with 1 update Pull request opened by dependabot[bot] Bumps the go_modules group with 1 update in the / directory: github.com/jackc/pgx/v5. Bumps the go_modules group with 1 update in the /admin/handlers directory: github.com/jackc/pgx/v5. Bumps the go_modules group with 1 update in the /backend directory: github.com/jackc/pgx/v5. Bumps the go_modules group with 1 update in the /logging directory: github.com/jackc/pgx/v5. Bumps the go_modules group with 1 update in the /tls/handlers directory: github.com/jackc/pgx/v5. Updates
<http://github.com/jackc/pgx/v5|github.com/jackc/pgx/v5>
from 5.5.1 to 5.5.4 Changelog Sourced from github.com/jackc/pgx/v5's changelog.
5.5.4 (March 4, 2024)
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 behavior of CollectRows to return empty slice if Rows are empty (Felix)
• Fix simple protocol encoding of json.RawMessage
• Fix *Pipeline.getResults should close pipeline on error
• Fix panic in TryFindUnderlyingTypeScanPlan (David Kurman)
• Fix deallocation of invalidated cached statements in a transaction
• Handle invalid sslkey file
• Fix scan float4 into sql.Scanner
• Fix pgtype.Bits not making copy of data from read buffer. This would cause the data to be corrupted by future reads.
5.5.3 (February 3, 2024)
• Fix: prepared statement already exists
• Improve CopyFrom auto-conversion of text-ish values
• Add ltree type support (Florent Viel)
• Make some properties of Batch and QueuedQuery public (Pavlo Golub)
• Add AppendRows function (Edoardo Spadolini)
• Optimize convert UUID [16]byte to string (Kirill Malikov)
• Fix: LargeObject Read and Write of more than ~1GB at a time (Mitar)
5.5.2 (January 13, 2024)
• Allow NamedArgs to start with underscore
• pgproto3: Maximum message body length support (jeremy.spriet)
• Upgrade golang.org/x/crypto to v0.17.0
• Add snake_case support to RowToStructByName (Tikhon Fedulov)
• Fix: update description cache after exec prepare (James Hartig)
• Fix: pipeline checks if it is closed (James Hartig and Ryan Fowler)
• Fix: normalize timeout / context errors during TLS startup (Samuel Stauffer)
• Add OnPgError for easier centralized error handling (James Hartig)
Commits • `da6f2c9` Update changelog • `c543134` SQL sanitizer wraps arguments in parentheses • `20344df` Check for overflow on uint16 sizes in pgproto3 • `adbb38f` Do not allow protocol messages larger than ~1GB • `c1b0a01` Fix behavior of CollectRows to return empty slice if Rows are empty • `88dfc22` Fix simple protocol encoding of json.RawMessage • `2e84dcc` *Pipeline.getResults should close pipeline on error • `d149d3f` Fix panic in TryFindUnderlyingTypeScanPlan • `046f497` deallocateInvalidatedCachedStatements now runs in transactions • `8896bd6` Handle invalid sslkey file • Additional commits viewable in compare view Updates
<http://github.com/jackc/pgx/v5|github.com/jackc/pgx/v5>
from 5.5.0 to 5.5.4 Changelog Sourced from github.com/jackc/pgx/v5's changelog.
5.5.4 (March 4, 2024)
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 behavior of CollectRows to return empty slice if Rows are empty (Felix)
• Fix simple protocol encoding of json.RawMessage
• Fix *Pipeline.getResults should close pipeline on error
• Fix panic in TryFindUnderlyingTypeScanPlan (David Kurman)
• Fix deallocation of invalidated cached statements in a transaction
• Handle invalid sslkey file
• Fix scan float4 into sql.Scanner
• Fix pgtype.Bits not making copy of data from read buffer. This would cause the data to be corrupted by future reads.
5.5.3 (February 3, 2024)
• Fix: prepared statement already exists
• Improve CopyFrom auto-conversion of text-ish values
• Add ltree type support (Florent Viel)
• Make some properties of Batch and QueuedQuery public (Pavlo Golub)
• Add AppendRows function (Edoardo Spadolini)
• Optimize convert UUID [16]byte to string (Kirill Malikov)
• Fix: LargeObject Read and Write of more than ~1GB at a time (Mitar)
5.5.2 (January 13, 2024)
• Allow NamedArgs to start with underscore
• pgproto3: Maximum message body length support (jeremy.spriet)
• Upgrade golang.org/x/crypto to v0.17.0
• Add snake_case support to RowToStructByName (Tikhon Fedulov)
• Fix: update description cache after exec prepare (James Hartig)
• Fix: pipeline checks if it is closed (James Hartig and Ryan Fowler)
• Fix: normalize timeout / context errors during TLS startup (Samuel Stauffer)
• Add OnPgError for easier centralized error handling (James Hartig)
Commits • `da6f2c9` Update changelog • `c543134` SQL sanitizer wraps arguments in parentheses • `20344df` Check for overflow on uint16 sizes in pgproto3 • `adbb38f` Do not allow protocol messages larger than ~1GB • `c1b0a01` Fix behavior of CollectRows to return empty slice if Rows are empty • `88dfc22` Fix simple protocol encoding of json.RawMessage • `2e84dcc` *Pipeline.getResults should close pipeline on error • `d149d3f` Fix panic in TryFindUnderlyingTypeScanPlan • `046f497` deallocateInvalidatedCachedStatements now runs in transactions • `8896bd6` Handle invalid sslkey file • Addi… jmpsec/osctrl All checks have passed 25/25 successful checks