Bug 1757258 (CVE-2019-14850)
Summary: | CVE-2019-14850 nbdkit: denial of service due to premature opening of back-end connection | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Doran Moppert <dmoppert> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | dblechte, dfediuck, eedri, libvirt-maint, mgoldboi, michal.skrivanek, rjones, sbonazzo, sherold, yturgema |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nbdkit 1.12.7, nbdkit 1.14.1, nbdkit 1.15.1 | Doc Type: | If docs needed, set a value |
Doc Text: |
A denial of service vulnerability was discovered in nbdkit. An attacker could connect to the nbdkit service and cause it to perform a large amount of work in initializing backend plugins, by simply opening a connection to the service. This vulnerability could cause resource consumption and degradation of service in nbdkit, depending on the plugins configured on the server-side.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-31 22:35:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1757260, 1757261, 1757262, 1757263, 1757264, 1757265, 1757639 | ||
Bug Blocks: | 1751960, 1940172 |
Description
Doran Moppert
2019-10-01 01:20:33 UTC
Acknowledgments: Name: Richard W. M. Jones (Red Hat) External References: https://www.redhat.com/archives/libguestfs/2019-September/msg00084.html Mitigation: This attack is only possible if nbdkit is configured with a plugin that does a lot of work in its initial .open() callback. Some examples that do a lot of work are nbdkit-ssh-plugin and nbdkit-guestfs-plugin. The nbdkit-memory-plugin is an example that does very little work, and thus is not subject to this vulnerability. Only attackers that can connect to the nbdkit service can exploit this vulnerability. If nbdkit is not exposed over TCP (eg, nbdkit -U), or is bound only to a private network interface, or is protected by firewall rules, the attack surface is correspondingly limited. Created nbdkit tracking bugs for this issue: Affects: epel-7 [bug 1757265] Affects: fedora-all [bug 1757264] NOTE: the upstream patches for this issue introduced another flaw, of higher severity than this one (bug 1757259). The patch for this vulnerability and for bug 1757259 should be applied together. Upstream patches: 1.15 (development branch): - https://github.com/libguestfs/nbdkit/commit/c05686f9577fa91b6a3a4d8c065954ca6fc3fd62 - https://github.com/libguestfs/nbdkit/commit/a6b88b195a959b17524d1c8353fd425d4891dc5f 1.14: - https://github.com/libguestfs/nbdkit/commit/e06cde00659ff97182173d0e33fff784041bcb4a - https://github.com/libguestfs/nbdkit/commit/bf0d61883a2f02f4388ec10dc92d4c61c093679e 1.12: - https://github.com/libguestfs/nbdkit/commit/22b30adb796bb6dca264a38598f80b8a234ff978 - https://github.com/libguestfs/nbdkit/commit/b2bc6683ea3cd1f6be694e8a681dfa411b7d15f3 Statement: Red Hat Virtualization Host includes nbdkit as a dependency of libguestfs, and uses it in p2v/v2v migrations. libguestfs uses nbdkit with a Unix domain socket only, so this vulnerability is not exposed to untrusted users. Red Hat Virtualization 4.2 EUS includes a vulnerable version of nbdkit, however it is used only on the Hypervisor with a Unix domain socket, so this vulnerability is not exposed to untrusted users. This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:1167 https://access.redhat.com/errata/RHSA-2020:1167 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-14850 |