stackabletech / stackabletech/postgresql-trino-gateway

RUSTSEC-2026-0180: Panic decoding a malformed `hstore` value allows denial of service

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
0
Forks
2
Avg merge
3d 24m
Merged PRs (30d)
3

Description

Panic decoding a malformed hstore value allows denial of service

Details
Package postgres-protocol
Version 0.6.11
URL https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d
Date 2026-06-12
Patched versions >=0.6.12

A malicious or compromised server can return a binary hstore value with an
invalid internal length field, causing the client to panic while decoding it.

Applications that connect only to a trusted database are not exposed; the risk
applies to clients that may connect to untrusted or user-supplied servers, or
whose connection can be intercepted by a man-in-the-middle.

See advisory page for additional details.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked RustSec advisory and commit, then inspect how this repository depends on the postgres-protocol package. Confirm that the resolved package version is at least 0.6.12 and that the repository's existing checks pass; done means version 0.6.11 is no longer used.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, rust
Domain
databases, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.