CVE-2024-4545
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAll versions of EnterpriseDB Postgres Advanced Server (EPAS) from 15.0 prior to 15.7.0 and from 16.0 prior to 16.3.0 may allow users using edbldr to bypass role permissions from pg_read_server_files. This could allow low privilege users to read files to which they would not otherwise have access.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAll versions of EnterpriseDB Postgres Advanced Server (EPAS) 15.x prior to 15.7.0 and 16.x prior to 16.3.0 contain an authorization bypass in the edbldr utility that allows authenticated users to bypass pg_read_server_files role restrictions, enabling low-privilege users to read arbitrary files on the server filesystem to which they should not have access.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify EPAS installationLocate the edbldr utility or check for EnterpriseDB Postgres Advanced Server installation directories. Common paths include /opt/edb/as<x> or /usr/edb/as<x> where <x> is the major version. Run 'which edbldr' or 'find / -name edbldr 2>/dev/null' to locate the binary.Affected if edbldr utility is found on the system, indicating EPAS is installed.
-
Determine EPAS versionRun the edbldr utility with version flag (edbldr --version) or query the PostgreSQL version using psql with: SELECT version(); Look for the full version string showing 15.x or 16.x.Affected if The installed version is 15.x prior to 15.7.0, or 16.x prior to 16.3.0.
-
Check edbldr utility permissionsRun 'ls -la <path_to_edbldr>' to verify file permissions. Determine which OS users have execute access to the edbldr binary.Affected if Untrusted or low-privilege OS users have execute permission on edbldr.
-
Identify users with EPAS accessQuery the database for users and roles: SELECT usename, rolname FROM pg_user JOIN pg_roles ON usesysid = oid; or list all database roles with: SELECT rolname FROM pg_roles;Affected if Low-privilege or untrusted database users exist who should not have elevated file access capabilities.
-
Check pg_read_server_files role assignmentsQuery role memberships: SELECT roleid::regrole, member::regrole FROM pg_authid a JOIN pg_auth_members m ON a.oid = m.roleid; Look for non-admin users granted pg_read_server_files or roles that include this privilege.Affected if Users granted pg_read_server_files role exist in the database.
A user is affected if EPAS version is 15.x before 15.7.0 or 16.x before 16.3.0 AND untrusted users have access to the edbldr utility and the database.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade EPAS to version 15.7.0, 16.3.0, or later to remediate the vulnerability. Until upgrade is possible, restrict or revoke edbldr utility access from untrusted users and monitor for unauthorized file access attempts.
EPAS 15.7.0 or later, or EPAS 16.3.0 or later
- 1. Identify the current EPAS version by running: psql --version or edb --version
- 2. For EPAS 15.x versions: Upgrade to version 15.7.0 or later
- 3. For EPAS 16.x versions: Upgrade to version 16.3.0 or later
- 4. Download the appropriate fixed version from EnterpriseDB
- 5. Back up all databases and configuration files before proceeding with the upgrade
- 6. Follow EnterpriseDB's standard upgrade procedure for your deployment type (in-place or migration)
- 7. After upgrade, verify the edbldr functionality still works as expected for authorized users
- 8. Confirm that the pg_read_server_files role permissions are now properly enforced
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,040.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-4545 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-4545 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data