Important: postgresql:16 security update

pg_repack Updated 02 Oct 2025

Summary

28/08/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:5929: Important: postgresql:16 security update. Affects pg_repack versions < 1.4.8-1.module_el9.4.0+66+eb9878bc. Fixed in 1.4.8-1.module_el9.4.0+66+eb9878bc. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PostgreSQL is an advanced object-relational database management system (DBMS) that provides robust data storage and retrieval capabilities. It is widely used in various applications and industries for managing large volumes of structured data. PostgreSQL offers a range of features, including support for complex queries, data integrity, and transaction management.

Vulnerability Detail

The security update addresses two vulnerabilities in PostgreSQL:

  1. CVE-2024-4317: PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks. This vulnerability could allow an authenticated attacker to access or modify statistics data, potentially leading to unauthorized access or data manipulation.

  2. CVE-2024-7348: PostgreSQL relation replacement during pg_dump executes arbitrary SQL. This vulnerability could allow an attacker with the ability to execute arbitrary SQL statements during a pg_dump operation to execute malicious SQL code, potentially leading to unauthorized access or data corruption.

How To Fix

Minimum fixed version

1.4.8-1.module_el9.4.0+66+eb9878bc

This is the first release that contains the fix.

sudo dnf update pg_repack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds mentioned for these vulnerabilities. It is advised to apply the security update as soon as possible.

Conclusion

PostgreSQL has released a security update to address two vulnerabilities that could potentially lead to unauthorized access, data manipulation, or data corruption. It is crucial to update PostgreSQL to the recommended version to ensure the security and integrity of your database.

See every vulnerability recorded for pg_repack →

Share this vulnerability

FAQ

PostgreSQL is an advanced object-relational database management system (DBMS) known for its robustness and feature-rich capabilities.

The security update addresses two vulnerabilities: CVE-2024-4317 and CVE-2024-7348. These vulnerabilities involve lack of authorization checks and potential execution of arbitrary SQL code during pg_dump.

The lack of authorization checks in pg_stats_ext and pg_stats_ext_exprs could allow unauthorized access or data manipulation. The vulnerability related to relation replacement during pg_dump could lead to execution of malicious SQL code and potential unauthorized access or data corruption.

To fix the vulnerabilities, update PostgreSQL to version 16.4-1.module_el9.4.0+109+624ac33a or later.

There are no specific workarounds mentioned for these vulnerabilities. It is recommended to apply the security update.

Related vulnerabilities

Recent vulnerabilities recorded for pg_repack.

How To Fix

Minimum fixed version

1.4.8-1.module_el9.4.0+66+eb9878bc

This is the first release that contains the fix.

sudo dnf update pg_repack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback