libdb: Reads DB_CONFIG from the current working directory
Published Apr 16, 2018
7.8
HIGHCVSS 3.0
EPSS 0.55%
Description
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.
Affected products
No data.
No data.
Red Hat JBoss Core Services
db4
Fixed · RHSA-2019:0366
Red Hat Directory Server 8
db4
Under investigation
Red Hat Enterprise Linux 5
db4
Will not fix
Red Hat Enterprise Linux 5
postfix
Will not fix
Red Hat Enterprise Linux 6
db4
Will not fix
Red Hat Enterprise Linux 6
postfix
Will not fix
Red Hat Enterprise Linux 7
libdb
Will not fix
Red Hat Enterprise Linux 7
postfix
Will not fix
Red Hat Enterprise Linux 8
libdb
Not affected
Red Hat Enterprise Linux 8
postfix
Not affected
Red Hat JBoss Enterprise Application Platform 5
httpd
Will not fix
Red Hat JBoss Enterprise Application Platform 6
httpd
Not affected
Red Hat JBoss Enterprise Web Server 1
db4
Will not fix
Red Hat JBoss Enterprise Web Server 2
db4
Will not fix
Red Hat JBoss Enterprise Web Server 3
db4
Will not fix
Red Hat JBoss Web Server 3
db4
Not affected
Red Hat Satellite 6
libdb
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services | db4 | Fixed | RHSA-2019:0366 |
| Red Hat Directory Server 8 | db4 | Under investigation | n/a |
| Red Hat Enterprise Linux 5 | db4 | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | postfix | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | db4 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | postfix | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libdb | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | postfix | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | libdb | Not affected | n/a |
| Red Hat Enterprise Linux 8 | postfix | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 5 | httpd | Will not fix | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | httpd | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 1 | db4 | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | db4 | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 3 | db4 | Will not fix | n/a |
| Red Hat JBoss Web Server 3 | db4 | Not affected | n/a |
| Red Hat Satellite 6 | libdb | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of libdb as shipped with Red Hat Satellite 6.0, 6.1 and 6.2. This package no longer ships with Satellite 6.3. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Red Hat mitigation
Do not use an application using libdb if an untrusted user can create a DB_CONFIG file in its working directory.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.55% (0.00547) | 43.80th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.57% (0.00567) | 42.33th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.28% (0.00282) | 48.63th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.85% (0.04853) | 82.18th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.56% (0.00555) | 12.81th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.56% (0.00555) | 0.00th | v1 |
No CWE recorded.
References (8)
- http://seclists.org/oss-sec/2017/q3/285 mailing-listx_refsource_MLISTExploitMailing ListThird Party Advisory
- http://www.postfix.org/announcements/postfix-3.2.2.html x_refsource_CONFIRMVendor Advisory
- https://access.redhat.com/errata/RHSA-2019:0366 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-10140 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1464032 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-10140
- https://www.cve.org/CVERecord?id=CVE-2017-10140
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| http://seclists.org/oss-sec/2017/q3/285 | mailing-listx_refsource_MLISTExploitMailing ListThird Party Advisory | |
| http://www.postfix.org/announcements/postfix-3.2.2.html | x_refsource_CONFIRMVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2019:0366 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-10140 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1464032 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-10140 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-10140 | ||
| https://www.oracle.com/security-alerts/cpujul2020.html | x_refsource_MISC |
Change history (0)
No recorded changes yet.