CVE-2017-10140 json
Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by lever…
published 2018-04-16 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-1787
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by leveraging undocumented functionality in Berkeley DB 2.x and later, related to reading settings from DB_CONFIG in the current directory.
Patch / fix
- postfix postfix 2.11.10, 3.0.10, 3.1.6, 3.2.2
- db5.3 Debian 14, Debian 13, Debian 12 5.3.28-13.1
debian advisories DEBIAN-CVE-2017-10140
- db5.3 Ubuntu 14.04 LTS 5.3.28-3ubuntu3.1
- db5.3 Ubuntu 16.04 LTS 5.3.28-11ubuntu0.1
- db5.3 Ubuntu 18.04 LTS 5.3.28-13.1
ubuntu advisories UBUNTU-CVE-2017-10140
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- exim Arch Linux 4.89.1-1
arch linux advisories AVG-518
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-10140 updated cvss 4.5
libdb: Reads DB_CONFIG from the current working directory
-
Red Hat Enterprise Linux 5 db4, postfix Red Hat Enterprise Linux 6 db4, db4-cxx, db4-tcl, postfix, db4-java, db4-utils, +1 more Red Hat Enterprise Linux 7 libdb, postfix, libdb-cxx, libdb-sql, libdb-tcl, libdb-java, +3 more Red Hat JBoss Enterprise Application Platform 5 httpd Red Hat JBoss Enterprise Web Server 1 db4 Red Hat JBoss Enterprise Web Server 2 db4affected: workaround, no fix planned “Do not use an application using libdb if an untrusted user can create a DB_CONFIG file in its working directory.”
+1 more productsfewer
Red Hat JBoss Enterprise Web Server 3 db4 -
Red Hat Directory Server 8 db4under investigation
-
Red Hat JBoss Core Servicesfixed: vendor fix “Do not use an application using libdb if an untrusted user can create a DB_CONFIG file in its working directory.” RHSA-2019:0366
-
Red Hat Enterprise Linux 8 libdb, postfix, libdb-cxx, libdb-sql, libdb-utils, postfix-cdb, +6 more Red Hat JBoss Enterprise Application Platform 6 httpd, mod_ssl, mod_ldap, httpd-tools, httpd-manual Red Hat JBoss Web Server 3 db4 Red Hat Satellite 6 libdb-cxxnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- seclists.org http://seclists.org/oss-sec/2017/q3/285 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
References
-
seclists.org
/oss-sec/2017/q3/285
mailing-list, exploit, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0366
vendor-advisory, third-party-advisory
-
postfix.org
/announcements/postfix-3.2.2.html
vendor-advisory
- oracle.com /security-alerts/cpujul2020.html
Sources
- CVE List CVE-2017-10140
- NVD CVE-2017-10140
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.