Important: postgresql:15 security update

pg_repack Updated 02 Oct 2025

Summary

20/12/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:7884: Important: postgresql:15 security update. Affects pg_repack versions < 1.4.8-1.module_el8.8.0+3487+43ec1b9f. Fixed in 1.4.8-1.module_el8.8.0+3487+43ec1b9f. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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. The vulnerability affects the PostgreSQL package version 15.

Vulnerability Detail

The vulnerability includes multiple security fixes:

  1. Buffer overrun from integer overflow in array modification (CVE-2023-5869): This vulnerability could allow an attacker to overrun a buffer and potentially execute arbitrary code.

  2. Memory disclosure in aggregate function calls (CVE-2023-5868): This vulnerability could lead to the disclosure of sensitive information through aggregate function calls.

  3. SQL injection via extension script (CVE-2023-39417): This vulnerability allows an attacker to inject malicious SQL code through extension scripts, potentially leading to unauthorized access or data manipulation.

  4. Role pg_signal_backend can signal certain superuser processes (CVE-2023-5870): This vulnerability allows a user with the pg_signal_backend role to signal certain superuser processes, potentially leading to privilege escalation.

  5. Failure to enforce row security policies in MERGE (CVE-2023-39418): This vulnerability allows an attacker to bypass row security policies in the MERGE command, potentially leading to unauthorized data access or modification.

How To Fix

Minimum fixed version

1.4.8-1.module_el8.8.0+3487+43ec1b9f

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 known workarounds for these vulnerabilities. It is essential to apply the security update as soon as possible to mitigate the risk.

Conclusion

In conclusion, the PostgreSQL package version 15 is affected by multiple vulnerabilities that could lead to arbitrary code execution, information disclosure, SQL injection, privilege escalation, and bypassing of row security policies. It is crucial to update the package to version 15.5-1.module_el8.9.0+3706+885c732e or later to mitigate these risks. For further support on vulnerability remediation, you can reach out to DevNack.com.

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 scalability. It is widely used in various applications and industries.

These vulnerabilities could allow an attacker to execute arbitrary code, disclose sensitive information, perform SQL injection attacks, escalate privileges, and bypass row security policies.

To fix the vulnerabilities, it is recommended to update the PostgreSQL package to version 15.5-1.module_el8.9.0+3706+885c732e or later.

There are no known workarounds for these vulnerabilities. It is crucial to apply the security update to mitigate the risk.

You can find more information about these vulnerabilities in the CVE pages listed in the References section of the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for pg_repack.

How To Fix

Minimum fixed version

1.4.8-1.module_el8.8.0+3487+43ec1b9f

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