{"answers":{"affected":"1 open source package ship an affected version, including postgresql. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-4317 in the wild and no public exploit code.","fix":"Upgrade postgresql to a fixed version for your release line: 14.12.0, 15.7.0 or 16.3.0.","what":"CVE-2024-4317 is a low-severity missing authorization vulnerability in Postgresql Postgresql, published on 9 May 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-4317 and fix it if it is affected.\n\nWhat it is: CVE-2024-4317 is a low-severity missing authorization vulnerability in Postgresql Postgresql, published on 9 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-4317 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- postgresql (Bitnami): affected from 14.0.0; fixed in 14.12.0, 15.7.0, 16.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-4317/ (Markdown: https://insights.sbomify.com/CVE-2024-4317/index.md)","id":"CVE-2024-4317","markdown":"https://insights.sbomify.com/CVE-2024-4317/index.md","name":"CVE-2024-4317","record":{"aliases":["AZL-40654","BELL-CVE-2024-4317","BIT-postgresql-2024-4317","DEBIAN-CVE-2024-4317","ECHO-dd9c-b422-c001","GHSA-37xw-rpjg-xxfx","JLSEC-2026-51","MGASA-2024-0184","MINI-c5h9-w3gf-5ghw","SUSE-SU-2024:1651-1","SUSE-SU-2024:1652-1","SUSE-SU-2024:1653-1","SUSE-SU-2024:1703-1","SUSE-SU-2024:1768-1","SUSE-SU-2024:1777-1","SUSE-SU-2024:2261-1","SUSE-SU-2024:2262-1","SUSE-SU-2024:2262-2","SUSE-SU-2024:2262-3","SUSE-SU-2024:2266-1","UBUNTU-CVE-2024-4317","USN-6802-1","openSUSE-SU-2024:13946-1","openSUSE-SU-2024:13947-1","openSUSE-SU-2024:13950-1"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PostgreSQL database","requires_auth":"low_privilege","summary":"Unprivileged users can read sensitive statistics from other users' data due to missing authorization checks in PostgreSQL views.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PostgreSQL","cpe":[{"product":"postgresql","vendor":"postgresql"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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.","ecosystems":["Bitnami","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Legacy 15 SP5","SUSE:Linux Enterprise Module for Legacy 15 SP6","SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP5","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks","id":"CVE-2024-4317","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"postgresql:postgresql","products":["postgresql:postgresql"],"type":"missing_authorization","year":"2024"},"n_packages":33,"n_references":1,"next":{"headline":"Tutor LMS \u003c= 2.7.0 - Authenticated (Instructor+) SQL Injection","id":"CVE-2024-4318"},"packages":[{"ecosystem":"Bitnami","fixed":["14.12.0","15.7.0","16.3.0"],"introduced":["14.0.0","15.0.0","16.0.0"],"last_affected":[],"package":"postgresql","purl":"pkg:bitnami/postgresql","source":"BIT-postgresql-2024-4317"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["15.7-150200.5.27.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:1777-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["16.3-150200.5.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:1652-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["16.2-150600.16.2.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2024:2266-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Legacy 15 SP5","fixed":["14.12-150200.5.44.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP5","source":"SUSE-SU-2024:1768-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Legacy 15 SP6","fixed":["14.12-150600.16.3.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP6","source":"SUSE-SU-2024:2262-2"},{"ecosystem":"SUSE:Linux Enterprise Module for Legacy 15 SP6","fixed":["14.12-150600.16.3.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP6","source":"SUSE-SU-2024:2262-3"},{"ecosystem":"SUSE:Linux Enterprise Module for Legacy 15 SP6","fixed":["15.7-150600.16.3.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP6","source":"SUSE-SU-2024:2261-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["14.12-150200.5.44.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1768-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["16.3-150200.5.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1652-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["14.12-150600.16.3.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2024:2262-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP5","fixed":["15.7-150200.5.27.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5","source":"SUSE-SU-2024:1777-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP5","fixed":["16.3-150200.5.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5","source":"SUSE-SU-2024:1652-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP6","fixed":["16.2-150600.16.2.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6","source":"SUSE-SU-2024:2266-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["14.12-3.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1703-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["15.7-3.25.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1653-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["16.3-3.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1651-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["14.12-3.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1703-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["15.7-3.25.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1653-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["16.3-3.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1651-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["14.12-3.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:1703-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["15.7-3.25.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:1653-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["16.3-3.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/suse/postgresql16\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:1651-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["14.12-150200.5.44.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/opensuse/postgresql14\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1768-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["15.7-150200.5.27.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/opensuse/postgresql15\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1777-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["16.3-150200.5.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/opensuse/postgresql16\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1652-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["16.3-150200.5.13.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16-mini","purl":"pkg:rpm/opensuse/postgresql16-mini\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1652-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["14.12-150600.16.3.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/opensuse/postgresql14\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2262-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["15.7-150600.16.3.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/opensuse/postgresql15\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2261-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["16.2-150600.16.2.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/opensuse/postgresql16\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2266-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["14.12-1.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/opensuse/postgresql14\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13946-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["15.7-1.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/opensuse/postgresql15\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13947-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["16.3-1.1"],"introduced":["0"],"last_affected":[],"package":"postgresql16","purl":"pkg:rpm/opensuse/postgresql16\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13950-1"}],"prev":{"headline":"Cross-site scripting in EmbedPress – PDF Embedder, Embed YouTube Videos, 3D FlipBook, Social feeds, Docs \u0026 more","id":"CVE-2024-4316"},"products":["PostgreSQL"],"published":"2024-05-09","related":[{"cvss_score":10,"headline":"Information disclosure in n/a","id":"CVE-2013-1902","kev_date_added":null,"published":"2013-04-04"},{"cvss_score":10,"headline":"Information disclosure in n/a","id":"CVE-2013-1903","kev_date_added":null,"published":"2013-04-04"},{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2007-3279","kev_date_added":null,"published":"2007-06-19"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2002-1399","kev_date_added":null,"published":"2003-01-08"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2016-3065","kev_date_added":null,"published":"2016-04-11"},{"cvss_score":9,"headline":"Code injection in n/a","id":"CVE-2007-3280","kev_date_added":null,"published":"2007-06-19"},{"cvss_score":8.8,"headline":"PostgreSQL tsvector and tsquery undersize allocations, via integer wraparound","id":"CVE-2026-14662","kev_date_added":null,"published":"2026-08-13"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-28","vendors":["n/a"]},"summary":"Unprivileged users can read sensitive statistics from other users' data due to missing authorization checks in PostgreSQL views.","url":"https://insights.sbomify.com/CVE-2024-4317/"}