3.1
LOW
CVE-2024-4317
PostgreSQL Authorize View Arbitrary Statistics reads
Description

Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.

INFO

Published Date :

May 14, 2024, 3:43 p.m.

Last Modified :

Nov. 21, 2024, 9:42 a.m.

Source :

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

1.6
Public PoC/Exploit Available at Github

CVE-2024-4317 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-4317 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Postgresql postgresql
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-4317.

URL Resource
https://www.postgresql.org/support/security/CVE-2024-4317/
https://www.postgresql.org/support/security/CVE-2024-4317/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Fluentbit container image built as small as possible with security in mind

docker-image dockerfile fluent-bit

Dockerfile

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 22, 2024, 8:40 a.m. This repo has been linked 42 different CVEs too.

RDBMS that can work with applications written for Microsoft SQL Server

Updated: 1 month ago
48 stars 1 fork 1 watcher
Born at : Oct. 25, 2023, 12:26 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-4317 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-4317 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://www.postgresql.org/support/security/CVE-2024-4317/
  • CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    May. 14, 2024

    Action Type Old Value New Value
    Added Description Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.
    Added Reference PostgreSQL https://www.postgresql.org/support/security/CVE-2024-4317/ [No types assigned]
    Added CWE PostgreSQL CWE-862
    Added CVSS V3.1 PostgreSQL AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-4317 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-4317 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability