Skip to content

GHSA-rgqc-3x5p-6gwg postgres-protocol: Panic decoding a malformed `hstore` value allows denial of service

MediumCVSS 6.9
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io postgres-protocol(crates.io) < 0.6.12; >= 0.0.0-0, < 0.6.12 0.6.12 Fixed

Affected products

ProductAffected versionsFixed in
crates.io postgres-protocol(crates.io) < 0.6.12 0.6.12
crates.io postgres-protocol(crates.io) >= 0.0.0-0, < 0.6.12 0.6.12

References