CVE-2018-5742 json
An oversight while backporting a feature leads to an assertion failure in buffer.c:420
published 7y ago modified 4mo ago also EUVD-2018-17511
- cvss
- 5.9
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
While backporting a feature for a newer branch of BIND9, RedHat introduced a path leading to an assertion failure in buffer.c:420. Affects RedHat versions bind-9.9.4-65.el7 -> bind-9.9.4-72.el7. No ISC releases are affected. Other packages from other distributions who made the same error may also be affected.
Patch / fix
- bind RHEL 7 32:9.9.4-73.el7_6
- bind-sdb RHEL 7 32:9.9.4-73.el7_6
- bind-libs RHEL 7 32:9.9.4-73.el7_6
- bind-utils RHEL 7 32:9.9.4-73.el7_6
- bind-chroot RHEL 7 32:9.9.4-73.el7_6
- bind-pkcs11 RHEL 7 32:9.9.4-73.el7_6
- bind-license RHEL 7 32:9.9.4-73.el7_6
- bind-libs-lite RHEL 7 32:9.9.4-73.el7_6
red hat advisories RHSA-2019:0194
Is CVE-2018-5742 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5742 updated cvss 5.9
bind: Crash from assertion error when debug log level is 10 and log entries meet buffer boundary
-
Red Hat Enterprise Linux Client (v. 7) bind 9.9.4-73.el7_6, bind-libs 9.9.4-73.el7_6, bind-utils 9.9.4-73.el7_6, bind-license 9.9.4-73.el7_6, bind-libs-lite 9.9.4-73.el7_6 Red Hat Enterprise Linux Client Optional (v. 7) bind 9.9.4-73.el7_6, bind-sdb 9.9.4-73.el7_6, bind-chroot 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-sdb-chroot 9.9.4-73.el7_6, bind-pkcs11-libs 9.9.4-73.el7_6, +1 more Red Hat Enterprise Linux ComputeNode (v. 7) bind 9.9.4-73.el7_6, bind-libs 9.9.4-73.el7_6, bind-utils 9.9.4-73.el7_6, bind-license 9.9.4-73.el7_6, bind-libs-lite 9.9.4-73.el7_6 Red Hat Enterprise Linux ComputeNode Optional (v. 7) bind 9.9.4-73.el7_6, bind-sdb 9.9.4-73.el7_6, bind-chroot 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-sdb-chroot 9.9.4-73.el7_6, bind-pkcs11-libs 9.9.4-73.el7_6, +1 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) bind 9.9.4-73.el7_6, bind-libs 9.9.4-73.el7_6, bind-utils 9.9.4-73.el7_6, bind-chroot 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-license 9.9.4-73.el7_6, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) bind-sdb 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-sdb-chroot 9.9.4-73.el7_6, bind-pkcs11-libs 9.9.4-73.el7_6, bind-pkcs11-utils 9.9.4-73.el7_6fixed: vendor fix “Ensure that debug logging is disabled and set to 0. This can be verified on the Bind server by the rndc status command.” RHSA-2019:0194
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) bind 9.9.4-73.el7_6, bind-libs 9.9.4-73.el7_6, bind-utils 9.9.4-73.el7_6, bind-chroot 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-license 9.9.4-73.el7_6, +3 more Red Hat Enterprise Linux Server Optional (v. 7) bind-sdb 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-sdb-chroot 9.9.4-73.el7_6, bind-pkcs11-libs 9.9.4-73.el7_6, bind-pkcs11-utils 9.9.4-73.el7_6 Red Hat Enterprise Linux Workstation (v. 7) bind 9.9.4-73.el7_6, bind-libs 9.9.4-73.el7_6, bind-utils 9.9.4-73.el7_6, bind-chroot 9.9.4-73.el7_6, bind-pkcs11 9.9.4-73.el7_6, bind-license 9.9.4-73.el7_6, +3 more Red Hat Enterprise Linux Workstation Optional (v. 7) bind-sdb 9.9.4-73.el7_6, bind-sdb-chroot 9.9.4-73.el7_6 -
Red Hat Enterprise Linux 5 bind, bind97 Red Hat Enterprise Linux 6 bind, bind-sdb, bind-libs, bind-utils, bind-chroot Red Hat Enterprise Linux 8 bind, bind-sdb, bind-libs, bind-utils, bind-chroot, bind-pkcs11, +7 morenot 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
1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- RedHat BIND9
Classification
- Weakness
-
- CWE-617 Reachable Assertion
References
-
access.redhat.com
/security/cve/cve-2018-5742
third-party-advisory
Sources
- CVE List CVE-2018-5742
- NVD CVE-2018-5742
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.