Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-7348— PostgreSQL relation replacement during pg_dump executes arbitrary SQL

Quick assessment

Affected
n/a PostgreSQL
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PostgreSQL是PostgreSQL组织的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL存在安全漏洞,该漏洞源于pg_dump的Time-of-check和Time-of-use存在竞争条件,允许攻击者执行任意SQL函数。

CVSS 8.8 · High EPSS 1.57% · P75

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-7348

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PostgreSQL relation replacement during pg_dump executes arbitrary SQL
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Source: CVE Program / CVE List V5
Vulnerability Title
PostgreSQL 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PostgreSQL是PostgreSQL组织的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL存在安全漏洞,该漏洞源于pg_dump的Time-of-check和Time-of-use存在竞争条件,允许攻击者执行任意SQL函数。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- PostgreSQL 16 ~ 16.4 -

II. Public POCs for CVE-2024-7348

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-7348

请登录查看更多情报信息。

Same Patch Batch · n/a · 2024-08-08 · 23 CVEs total

CVE-2024-7272 6.3 MEDIUM FFmpeg swresample.c fill_audiodata heap-based overflow
CVE-2024-40488 Live Membership System 安全漏洞
CVE-2023-40261 Diebold Nixdorf Vynamic Security Suite 安全漏洞
CVE-2023-33206 Diebold Nixdorf Vynamic Security Suite 安全漏洞
CVE-2023-28865 Diebold Nixdorf Vynamic Security Suite 安全漏洞
CVE-2023-24063 Diebold Nixdorf Vynamic Security Suite 安全漏洞
CVE-2023-24064 Diebold Nixdorf Vynamic Security Suite 安全漏洞
CVE-2023-24062 Diebold Nixdorf Vynamic Security Suite 安全漏洞
CVE-2024-40481 PHPGurukul Old Age Home Management System 安全漏洞
CVE-2024-40475 Best House Rental Management System 安全漏洞
CVE-2024-40477 PHPGurukul Old Age Home Management System 安全漏洞
CVE-2024-40487 Live Membership System 安全漏洞
CVE-2024-40474 House Rental Management System 安全漏洞
CVE-2024-40476 Best House Rental Management System 安全漏洞
CVE-2024-40484 PHPGurukul Old Age Home Management System 安全漏洞
CVE-2024-40473 Best House Rental Management System 安全漏洞
CVE-2024-40482 Live Membership System 安全漏洞
CVE-2024-40486 Kashipara Live Membership System 安全漏洞
CVE-2024-37382 Ab Initio Metadata Hub和Ab Initio Authorization Gateway 安全漏洞
CVE-2024-41482 Typora 安全漏洞

Showing top 20 of 23 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2024-7348

No comments yet


Leave a comment