CVE-2024-7348 Vulnerability Analysis & Exploit Details

CVE-2024-7348
Vulnerability Scoring

7.5
/10
Very High Risk

Highly exploitable, CVE-2024-7348 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2024-7348 Details

Status: Analyzed

Last updated: 🕞 12 Aug 2024, 15:54 UTC
Originally published on: 🕐 08 Aug 2024, 13:15 UTC

Time between publication and last update: 4 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE-2024-7348 Vulnerability Summary

CVE-2024-7348: Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, 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.

Assessing the Risk of CVE-2024-7348

Access Complexity Graph

The exploitability of CVE-2024-7348 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2024-7348

This vulnerability, CVE-2024-7348, requires a high level of attack complexity and low privileges, making it difficult but not impossible to exploit. Organizations should ensure robust security configurations to mitigate risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2024-7348, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2024-7348, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2024-7348 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2024-7348 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2024-7348 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.05% (probability of exploit)

EPSS Percentile: 22.14% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 77.86% of others.

CVE-2024-7348 References

External References

CWE Common Weakness Enumeration

CWE-367

CAPEC Common Attack Pattern Enumeration and Classification

  • Leveraging Race Conditions via Symbolic Links CAPEC-27 This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to them. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file they will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions CAPEC-29 This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.

Vulnerable Configurations

  • cpe:2.3:a:postgresql:postgresql:12.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.9:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.9:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.10:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.10:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.12:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.12:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.13:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.13:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.14:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.14:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.15:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.15:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.16:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.16:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.17:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.17:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.18:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.18:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:12.19:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:12.19:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.9:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.9:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.10:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.10:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.12:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.12:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.13:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.13:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.14:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.14:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:13.15:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:13.15:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.9:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.9:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.10:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.10:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:14.12:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:14.12:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:15.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:15.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:16.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:16.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:16.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:16.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:16.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:16.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:16.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:16.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:16.3:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2024-7348: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...
  • CVE-2025-2125 – A vulnerability has been found in Control iD RH iD 25.2.25.0 and classified as problematic. This vulnerability affects unknown code of the file /v2...
  • CVE-2025-2124 – A vulnerability, which was classified as problematic, was found in Control iD RH iD 25.2.25.0. This affects an unknown part of the file /v2/custome...