Skip to content

chore(deps): patch tokio-postgres advisories#120

Merged
martsokha merged 1 commit into
mainfrom
chore/fix-postgres-advisories
Jun 13, 2026
Merged

chore(deps): patch tokio-postgres advisories#120
martsokha merged 1 commit into
mainfrom
chore/fix-postgres-advisories

Conversation

@martsokha

Copy link
Copy Markdown
Member

Fixes the Deny job failure on main: three new RUSTSEC advisories landed in the advisory database after #119's CI ran.

All three are in tokio-postgres / postgres-protocol (transitive via diesel-async), each a DoS vector:

  • RUSTSEC-2026-0178 — panic on a DataRow with fewer fields than columns
  • RUSTSEC-2026-0179 — unbounded SCRAM iteration count (CPU exhaustion)
  • RUSTSEC-2026-0180 — panic decoding a malformed hstore value

Fix

Semver-compatible patch bumps via cargo update:

  • postgres-protocol 0.6.11 → 0.6.12
  • tokio-postgres 0.7.17 → 0.7.18
  • postgres-types 0.2.13 → 0.2.14

Lockfile-only; no code changes. cargo deny check all is green again and the workspace compiles.

🤖 Generated with Claude Code

Three new advisories (RUSTSEC-2026-0178/0179/0180) landed in the advisory
database, all in tokio-postgres / postgres-protocol (pulled transitively
via diesel-async): unbounded SCRAM iteration count, an hstore decode panic,
and a DataRow panic, each a denial-of-service vector.

Bump postgres-protocol 0.6.11 -> 0.6.12 and tokio-postgres 0.7.17 -> 0.7.18
(semver-compatible patch updates) to clear them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@martsokha martsokha self-assigned this Jun 13, 2026
@martsokha martsokha added the chore maintenance, dependency updates, code cleanup label Jun 13, 2026
@martsokha martsokha merged commit 3706760 into main Jun 13, 2026
5 checks passed
@martsokha martsokha deleted the chore/fix-postgres-advisories branch June 13, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore maintenance, dependency updates, code cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant