BIT-postgresql-2024-7348

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2024-7348.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-postgresql-2024-7348
Aliases
Published
2024-08-10T07:32:17.691Z
Modified
2024-11-27T19:40:48.342Z
Summary
[none]
Details

Time-of-check Time-of-use (TOCTOU) race condition in pgdump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pgdump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected.

Database specific
{
    "cpes": [
        "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"
    ],
    "severity": "High"
}
References

Affected packages

Bitnami / postgresql

Package

Name
postgresql
Purl
pkg:bitnami/postgresql

Severity

  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
16.0.0
Fixed
16.4.0
Introduced
15.0.0
Fixed
15.8.0
Introduced
14.0.0
Fixed
14.13.0
Introduced
13.0.0
Fixed
13.16.0
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.20.0