Commit dc6ea9c
authored
chore(deps): bump github.com/jackc/pgx/v4 from 4.17.2 to 4.18.2 (#1)
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from
4.17.2 to 4.18.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md">github.com/jackc/pgx/v4's
changelog</a>.</em></p>
<blockquote>
<h1>4.18.2 (March 4, 2024)</h1>
<p>Fix CVE-2024-27289</p>
<p>SQL injection can occur when all of the following conditions are
met:</p>
<ol>
<li>The non-default simple protocol is used.</li>
<li>A placeholder for a numeric value must be immediately preceded by a
minus.</li>
<li>There must be a second placeholder for a string value after the
first placeholder; both must be on the same line.</li>
<li>Both parameter values must be user-controlled.</li>
</ol>
<p>Thanks to Paul Gerste for reporting this issue.</p>
<p>Fix CVE-2024-27304</p>
<p>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.</p>
<p>Thanks to Paul Gerste for reporting this issue.</p>
<ul>
<li>Fix *dbTx.Exec not checking if it is already closed</li>
</ul>
<h1>4.18.1 (February 27, 2023)</h1>
<ul>
<li>Fix: Support pgx v4 and v5 stdlib in same program (Tomáš
Procházka)</li>
</ul>
<h1>4.18.0 (February 11, 2023)</h1>
<ul>
<li>Upgrade pgconn to v1.14.0</li>
<li>Upgrade pgproto3 to v2.3.2</li>
<li>Upgrade pgtype to v1.14.0</li>
<li>Fix query sanitizer when query text contains Unicode replacement
character</li>
<li>Fix context with value in BeforeConnect (David Harju)</li>
<li>Support pgx v4 and v5 stdlib in same program (Vitalii
Solodilov)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jackc/pgx/commit/14690df4c533758df97f7cc561cb9062155045c6"><code>14690df</code></a>
Update changelog</li>
<li><a
href="https://github.com/jackc/pgx/commit/779548e1f725060db4f4fc528325d7304aa34f93"><code>779548e</code></a>
Update required Go version to 1.17</li>
<li><a
href="https://github.com/jackc/pgx/commit/80e96622d64b9c4dcc7d78a2200c8eade1713118"><code>80e9662</code></a>
Update github.com/jackc/pgconn to v1.14.3</li>
<li><a
href="https://github.com/jackc/pgx/commit/0bf9ac391c87b05d3c44cf0bbc43b9556761bc64"><code>0bf9ac3</code></a>
Fix erroneous test case</li>
<li><a
href="https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df"><code>f94eb0e</code></a>
Always wrap arguments in parentheses in the SQL sanitizer</li>
<li><a
href="https://github.com/jackc/pgx/commit/826a89229b8b1cdf18e4190afa437d3df9901b9c"><code>826a892</code></a>
Fix SQL injection via line comment creation in simple protocol</li>
<li><a
href="https://github.com/jackc/pgx/commit/7d882f9aa7b33f88fcf9da6b795685c5821950fd"><code>7d882f9</code></a>
Fix *dbTx.Exec not checking if it is already closed</li>
<li><a
href="https://github.com/jackc/pgx/commit/1d07b8b939810f2417b6c2010acac08d64be6e7d"><code>1d07b8b</code></a>
go mod tidy</li>
<li><a
href="https://github.com/jackc/pgx/commit/13468eb321a0bacbb0cbdfddb1ea1d62e68e0652"><code>13468eb</code></a>
Release v4.18.1</li>
<li><a
href="https://github.com/jackc/pgx/commit/7fed69b9540b7725f38abae5759a0cc98c541048"><code>7fed69b</code></a>
simplify duplicate <code>pgx</code> registration guard</li>
<li>Additional commits viewable in <a
href="https://github.com/jackc/pgx/compare/v4.17.2...v4.18.2">compare
view</a></li>
</ul>
</details>
<br />
[](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/instill-ai/artifact-backend/network/alerts).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent bdb634a commit dc6ea9c
2 files changed
+18
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
690 | | - | |
691 | | - | |
| 690 | + | |
| 691 | + | |
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
709 | | - | |
| 708 | + | |
| 709 | + | |
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
726 | | - | |
| 725 | + | |
| 726 | + | |
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
| 1004 | + | |
| 1005 | + | |
1007 | 1006 | | |
1008 | 1007 | | |
1009 | 1008 | | |
| |||
1097 | 1096 | | |
1098 | 1097 | | |
1099 | 1098 | | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
| 1099 | + | |
| 1100 | + | |
1103 | 1101 | | |
1104 | 1102 | | |
1105 | 1103 | | |
| |||
1230 | 1228 | | |
1231 | 1229 | | |
1232 | 1230 | | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
| 1231 | + | |
| 1232 | + | |
1236 | 1233 | | |
1237 | 1234 | | |
1238 | 1235 | | |
1239 | 1236 | | |
1240 | 1237 | | |
1241 | | - | |
1242 | 1238 | | |
1243 | 1239 | | |
1244 | 1240 | | |
| |||
1253 | 1249 | | |
1254 | 1250 | | |
1255 | 1251 | | |
1256 | | - | |
1257 | 1252 | | |
1258 | 1253 | | |
1259 | 1254 | | |
| |||
0 commit comments