Time-of-Check Time-of-Use (TOCTOU) Race Condition Affecting postgresql package, versions [,12.20) [13.0,13.16) [14.0,14.13) [15.0,15.8) [16.0,16.4)
Threat Intelligence
EPSS
0.05% (21st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UNMANAGED-POSTGRESQL-7660065
- published 9 Aug 2024
- disclosed 8 Aug 2024
- credit Noah Misch
Introduced: 8 Aug 2024
CVE-2024-7348 Open this link in a new tabHow to fix?
Upgrade postgresql
to version 12.20, 13.16, 14.13, 15.8, 16.4 or higher.
Overview
Affected versions of this package are vulnerable to Time-of-Check Time-of-Use (TOCTOU) Race Condition in the pg_dump
command. A user can execute arbitrary SQL by replacing another relation type with a view or foreign table. While the victim needs to run pg_dump
to be vulnerable, the attacker can exploit the race condition reliably by leaving a transaction open.