CVE-2019-6477TCP-pipelined queries can bypass tcp-clients limit
With pipelining enabled each incoming query on a TCP connection requires a similar resource allocation to a query received via UDP or via TCP without pipelining enabled. A client using a TCP-pipelined connection to a server could consume more resources than the server has been provisioned to handle. When a TCP connection with a large number of pipelined queries is closed, the load on the server releasing these multiple resources can cause it to become unresponsive, even for queries that can be answered authoritatively or from cache. (This is most likely to be perceived as an intermittent server problem).
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | bind9 | Fixed | 1:9.11.3+dfsg-1ubuntu1.11 | UBUNTU-CVE-2019-6477 |
| Ubuntu 16.04 | bind9 | Not affected vulnerable_code_not_present | ||
| Debian 14 | bind9 | Fixed | 1:9.11.14+dfsg-1 | DEBIAN-CVE-2019-6477 |
| Debian 13 | bind9 | Fixed | 1:9.11.14+dfsg-1 | DEBIAN-CVE-2019-6477 |
| Debian 12 | bind9 | Fixed | 1:9.11.14+dfsg-1 | DEBIAN-CVE-2019-6477 |
| Red Hat Enterprise Linux 8 | bind | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-chroot | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-devel | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-export-devel | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-export-libs | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-libs | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-libs-lite | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-license | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-lite-devel | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-sdb | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | bind-utils | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 8 | python3-bind | Fixed | 32:9.11.13-3.el8 | RHSA-2020:1845 |
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-export-devel | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-export-libs | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.11.4-16.P2.el7 | RHSA-2020:1061 |
| Red Hat Enterprise Linux 6 | bind | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 5 | bind | Not affected | ||
| Red Hat Enterprise Linux 5 | bind97 | Not affected | ||
| Alpine Linux 3.24 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.23 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.22 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.21 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.20 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.19 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.18 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.17 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.16 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.15 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.14 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.13 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.12 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.11 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
| Alpine Linux 3.10 | bind | Fixed | 9.14.8-r0 | ALPINE-CVE-2019-6477 |
What the vendor says
As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ISC BIND9: affected: 9.11.6-P1 -> 9.11.12, 9.12.4-P1 -> 9.12.4-P2, 9.14.1 -> 9.14.7, and versions 9.11.5-S6 -> 9.11.12-S1 of BIND 9 Supported Preview Edition. Versions 9.15.0 -> 9.15.5 of the BIND 9.15 development branch are also affected
Solution: Upgrade to the patched release most closely related to your current version of BIND: BIND 9.11.13 BIND 9.14.8 BIND 9.15.6 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9.11.13-S1 Note that the fix for CVE-2019-6477 addresses only the server memory leak issue. TCP-pipelining may still malfunction by dropping some responses on a TCP connection where a client query pattern generates excessive outstanding queries, but the malfunction will affect that TCP connection alone and will not cause any degradation of service to other clients. An affected client connection might also appear to hang, but will clear when either the client or the server initiates a close or reset and will not remain in that state indefinitely. Disabling TCP-pipelining entirely is completely effective at mitigating the vulnerability with…
Workaround: The vulnerability can be avoided by disabling server TCP-pipelining: keep-response-order { any; }; and then restarting BIND. The server restart is necessary because neither a 'reload' nor a 'reconfig' operation will properly reset currently pipelining TCP clients.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4689 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00041.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00044.html (vendor-advisory)
References
- https://kb.isc.org/docs/cve-2019-6477
- https://www.synology.com/security/advisory/Synology_SA_19_39
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XGURMGQHX45KR4QDRCSUQHODUFOGNGAN/
- https://support.f5.com/csp/article/K15840535?utm_source=f5support&%3Butm_medium=RSS
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3DEMNZMKR57VQJCG5ZN55ZGTQRL2TFQ/
- https://www.debian.org/security/2020/dsa-4689
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00041.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00044.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.