{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-2291", "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "state": "PUBLISHED", "assignerShortName": "PostgreSQL", "dateReserved": "2025-03-13T16:59:51.381Z", "datePublished": "2025-04-16T18:00:05.413Z", "dateUpdated": "2025-11-03T19:42:15.907Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "shortName": "PostgreSQL", "dateUpdated": "2025-04-16T18:00:05.413Z" }, "title": "PgBouncer default auth_query does not take Postgres password expiry into account", "descriptions": [ { "lang": "en", "value": "Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to log in with an already expired password" } ], "affected": [ { "defaultStatus": "unaffected", "product": "PgBouncer", "vendor": "n/a", "versions": [ { "lessThan": "1.24.1", "version": "0", "versionType": "semver", "status": "affected" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-324", "type": "CWE", "description": "Use of a Key Past its Expiration Date" } ] } ], "references": [ { "url": "https://www.pgbouncer.org/changelog.html#pgbouncer-124x" } ], "metrics": [ { "format": "CVSS", "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH" } } ], "configurations": [ { "lang": "en", "value": "auth_user is set in PgBouncer and a Postgres user has password expiry configured using VALID UNTIL" } ], "workarounds": [ { "lang": "en", "value": "Configure a custom auth_query containing the new default auth_query introduced in PgBouncer 1.24.1, this auth_query takes expiry into account" } ] }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2025-04-16T18:22:39.693077Z", "id": "CVE-2025-2291", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-04-16T18:27:58.679Z" } }, { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T19:42:15.907Z" } } ] } }