pg_upgrade vulnerability allowing read or modification of file with passwords
The PostgreSQL Global Development Group postgresql
At a glance
In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 0.482%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:The PostgreSQL Global Development Group | postgresql | Affected versions:9.3.x before 9.3.21Show full version range for postgresql9.4.x before 9.4.169.5.x before 9.5.119.6.x before 9.6.710.x before 10.2 |
| Vendor:Red Hat | CloudForms Management Engine 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | CloudForms Management Engine 5.9 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Satellite 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Affected versions:Source does not specify a version range |
1–10 of 17 · Page 1 of 2
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.0 / 10HighCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)6.7 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)3.3 / 10LowCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:P/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences