Files
advisory-db/packages/postgres-protocol.json
T
2026-08-25 02:42:29 +00:00

154 lines
4.7 KiB
JSON

[
{
"id": "RUSTSEC-2026-0180",
"modified": "2026-08-25T02:42:17Z",
"published": "2026-06-12T12:00:00Z",
"aliases": [
"GHSA-rgqc-3x5p-6gwg"
],
"related": [],
"summary": "Panic decoding a malformed `hstore` value allows denial of service",
"details": "A malicious or compromised server can return a binary `hstore` value with an\ninvalid internal length field, causing the client to panic while decoding it.\n\nApplications that connect only to a trusted database are not exposed; the risk\napplies to clients that may connect to untrusted or user-supplied servers, or\nwhose connection can be intercepted by a man-in-the-middle.",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "postgres-protocol",
"purl": "pkg:cargo/postgres-protocol"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": [
"postgres_protocol::types::hstore_from_sql"
]
},
"affected_functions": null
},
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.6.12"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/postgres-protocol"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0180.html"
},
{
"type": "WEB",
"url": "https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d"
}
],
"database_specific": {
"license": "CC0-1.0"
}
},
{
"id": "RUSTSEC-2026-0179",
"modified": "2026-08-25T02:42:17Z",
"published": "2026-06-12T12:00:00Z",
"aliases": [
"GHSA-5x78-73v4-xg6w"
],
"related": [],
"summary": "Unbounded SCRAM iteration count allows a malicious server to cause CPU-exhaustion denial of service",
"details": "A malicious, compromised, or man-in-the-middle server can supply an arbitrarily\nlarge SCRAM-SHA-256 PBKDF2 iteration count during authentication. The client\nruns it inline with no upper bound, pinning a `tokio` worker thread for minutes\nper connection, possibly stalling the whole async runtime.\n\nApplications that connect only to a trusted database are not exposed; the risk\napplies to clients that may connect to untrusted or user-supplied servers, or\nwhose connection can be intercepted by a man-in-the-middle.",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "postgres-protocol",
"purl": "pkg:cargo/postgres-protocol"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": [
"postgres_protocol::authentication::sasl::ScramSha256::update"
]
},
"affected_functions": null
},
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.3.0"
},
{
"fixed": "0.6.12"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/postgres-protocol"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0179.html"
},
{
"type": "WEB",
"url": "https://github.com/rust-postgres/rust-postgres/commit/d40097a36a85068ea50a3afbf0ce154ba439e7f0"
},
{
"type": "ADVISORY",
"url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]