7

CVE-2018-1053: canonical ubuntu_linux Insecure Temporary File

CVSS: 7.0v3.0HighModified
AliasesALPINE-CVE-2018-1053MGASA-2018-0137SUSE-SU-2018:0506-1
Published 09-02-2018Last modified 17-09-2024

Vulnerability summary

CVE-2018-1053 is a high (CVSS 7.0) Insecure Temporary File vulnerability in canonical ubuntu_linux. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.1% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.0/10
010
High · v3.0 (NVD)
EPSS score
0.48%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 1

Timeline

  1. 09-02-2018
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

0.00 pp

From 0.48% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse26 products
  • postgresql94-libs&distro=SUSE Linux Enterprise Server 11 SP4< 9.4.16-0.23.13.2
  • postgresql94-libs&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4< 9.4.16-0.23.13.2
  • postgresql94-libs&distro=SUSE Linux Enterprise Software Development Kit 11 SP4< 9.4.16-0.23.13.2
  • postgresql94-libs&distro=SUSE Linux Enterprise Software Development Kit 12 SP2< 9.4.16-21.16.1
  • postgresql94&distro=SUSE Linux Enterprise Desktop 12 SP2< 9.4.16-21.16.1
Alpine3 products
  • postgresql≥ 9.3.0, < 10.2-r0 | ≥ 9.3.0, < 9.5.11-r0 | ≥ 9.3.0, < 9.6.7-r0
  • postgresql14< 10.2-r0
  • postgresql15< 10.2-r0
Mageia3 products
  • postgresql9.4< 9.4.16-1.mga5
  • postgresql9.4< 9.4.16-1.mga6
  • postgresql9.6< 9.6.7-1.mga6
Debian2 products
Ubuntu2 products
  • postgresql-9.3< 9.3.21-0ubuntu0.14.04
  • postgresql-9.5< 9.5.11-0ubuntu0.16.04
Canonical1 product
Postgresql1 product
  • postgresqlEOL≥ 9.3.0, < 9.3.21 | ≥ 9.4.0, < 9.4.16 | ≥ 9.5.0, < 9.5.11 | ≥ 9.6.0, < 9.6.7 | 10.0 | 1.01
Redhat1 product
The postgresql global development group1 product
  • postgresql9.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 | 10.x before 10.2

9 vendors · 40 products

References

20 links
Show all 20 references