CVE-2017-7484: It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.5% (FIRST EPSS); higher than 85.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: postgresql (Alpine:v3.10) 9.6.3-r0; postgresql14 (Alpine:v3.15) 9.6.3-r0; postgresql15 (Alpine:v3.17) 9.6.3-r0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to postgresql (Alpine:v3.10) 9.6.3-r0; postgresql14 (Alpine:v3.15) 9.6.3-r0; postgresql15 (Alpine:v3.17) 9.6.3-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 did not check user privileges before providing information from pg_statistic, possibly leaking information. An unprivileged attacker could use this flaw to steal some information from tables they are otherwise not allowed to access.
- Published
- May 12, 2017
- Updated
- Jun 16, 2026
- EPSS
- 2.5% · 85th percentile
- CWE
- CWE-285
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is PostgreSQL on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| postgresql | postgresql | cpe:2.3:a:postgresql:postgresql |
Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)
Is PostgreSQL on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanVersions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
The PostgreSQL Global Development Group PostgreSQL
- 9.2 - 9.6affected
Affected versions · NVD (20)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- postgresql postgresqlup to 9.2.20 inclusive
- postgresql postgresql9.3
- postgresql postgresql9.3.1
- postgresql postgresql9.3.10
- postgresql postgresql9.3.11
- postgresql postgresql9.3.12
- postgresql postgresql9.3.13
- postgresql postgresql9.3.14
- postgresql postgresql9.3.15
- postgresql postgresql9.3.16
- postgresql postgresql9.3.2
- postgresql postgresql9.3.3
- postgresql postgresql9.3.4
- postgresql postgresql9.3.5
- postgresql postgresql9.3.6
- postgresql postgresql9.3.7
- postgresql postgresql9.3.8
- postgresql postgresql9.3.9
- postgresql postgresql9.4
- postgresql postgresql9.4.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | postgresql | before 9.6.3-r0 | 9.6.3-r0 |
| Alpine:v3.15 | postgresql14 | before 9.6.3-r0 | 9.6.3-r0 |
| Alpine:v3.17 | postgresql15 | before 9.6.3-r0 | 9.6.3-r0 |
| Alpine:v3.3 | postgresql | before 9.4.12-r0 | 9.4.12-r0 |
| Alpine:v3.4 | postgresql | before 9.5.7-r0 | 9.5.7-r0 |
| Debian:8 | postgresql-9.4 | before 9.4.12-0+deb8u1 | 9.4.12-0+deb8u1 |
| Red Hat:enterprise_linux:7::client | postgresql | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-contrib | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-debuginfo | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-devel | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-docs | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-libs | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-plperl | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-plpython | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-pltcl | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-server | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-static | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-test | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:enterprise_linux:7::client | postgresql-upgrade | before 0:9.2.21-1.el7 | 0:9.2.21-1.el7 |
| Red Hat:network_satellite_managed_db:5.7::el6 | rh-postgresql95-runtime | before 0:2.2-3.el6 | 0:2.2-3.el6 |
| Red Hat:network_satellite_managed_db:5.7::el6 | spacewalk-base-minimal | before 0:2.3.2-35.el6sat | 0:2.3.2-35.el6sat |
| Red Hat:network_satellite_managed_db:5.7::el6 | spacewalk-dobby | before 0:2.3.2-35.el6sat | 0:2.3.2-35.el6sat |
| Red Hat:network_satellite_managed_db:5.7::el6 | spacewalk-postgresql-server | before 0:9.5-1.el6sat | 0:9.5-1.el6sat |
| Red Hat:network_satellite_managed_db:5.7::el6 | spacewalk-setup-postgresql | before 0:2.3.0-27.el6sat | 0:2.3.0-27.el6sat |
+80
Same product
postgresql: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote…57Plan
- CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to…55Plan
- CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.49Plan
Published before and after this one in the same product
- ← EarlierCVE-2016-5423Dec 9, 2016 · PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 allow remote authenticated…35Monitor
- ← EarlierCVE-2016-5424Dec 9, 2016 · PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote…29Monitor
- Later →CVE-2017-7485May 12, 2017 · In PostgreSQL 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3, it was found that the PGREQUIRESSL…24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:postgresql | 9.6.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| alpine:postgresql14 | 9.6.3-r0 · Alpine:v3.15 | Package registry (OSV) |
| alpine:postgresql15 | 9.6.3-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:postgresql-9.4 | 9.4.12-0+deb8u1 · Debian:8 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-contrib | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-debuginfo | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-devel | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-docs | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-libs | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-plperl | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-plpython | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-pltcl | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-server | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-static | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-postgresql95-postgresql-test | 0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| suse:postgresql93 | 9.3.17-24.2 · SUSE:Linux Enterprise Server for SAP Applications 12 | Package registry (OSV) |
| suse:postgresql94 | 9.4.12-20.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:postgresql94-libs | 9.4.12-20.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-20-094 · Feb 18, 2020(Postgresql Sunucu Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-285 · Improper AuthorizationCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Accessing Functionality Not Properly Constrained by ACLsCAPEC-1likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Directory IndexingCAPEC-127likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- Using Malicious FilesCAPEC-17likelihood: High · Very High
- Manipulating Opaque Client-based Data TokensCAPEC-39likelihood: High · Medium
- Bypassing ATA Password SecurityCAPEC-402
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
- Data from Local SystemT1005
- Query RegistryT1012
- File and Directory DiscoveryT1083
- Access Token Manipulation:Token Impersonation/TheftT1134.001
- Use Alternate Authentication Material:Web Session CookieT1550.004
- Unsecured Credentials: Credentials in RegistryT1552.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Data Manipulation: Transmitted Data ManipulationT1565.002
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
- Hijack Execution Flow: ServicesFile Permissions WeaknessT1574.010
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- access.redhat.com/errata/RHSA-2017:2425
- www.debian.org/security/2017/dsa-3851
- www.securityfocus.com/bid/98459
- www.securitytracker.com/id/1038476
- access.redhat.com/errata/RHSA-2017:1677
- access.redhat.com/errata/RHSA-2017:1678
- access.redhat.com/errata/RHSA-2017:1838
- security.gentoo.org/glsa/201710-06
- www.postgresql.org/about/news/1746/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.