CVE-2019-3804 Denial of service in cockpit

High 7.5 Published Updated

An unauthenticated attacker can crash the Cockpit web service by sending a specially crafted request with an invalid base64-encoded cookie.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-3804?

CVE-2019-3804 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 26 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It was found that cockpit before version 184 used glib's base64 decode functionality incorrectly resulting in a denial of service attack. An unauthenticated attacker could send a specially crafted request with an invalid base64-encoded cookie which could cause the web service to crash.

Weakness: CWE-909

Which versions are affected by CVE-2019-3804?

It affects 3 products.

Linux distribution packages (33)
cockpit Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit-bridge Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit-doc Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit-machines-ovirt Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit-system Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit-ws Red Hat:enterprise_linux:7::clientAll versions0:173.2-1.el7
cockpit Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
cockpit-bridge Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
cockpit-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
cockpit-doc Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
cockpit-machines-ovirt Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
cockpit-system Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
cockpit-ws Red Hat:enterprise_linux:7::computenodeAll versions0:173.2-1.el7
redhat-release-virtualization-host Red Hat:enterprise_linux:7::hypervisorAll versions0:4.3-0.8.el7
redhat-virtualization-host Red Hat:enterprise_linux:7::hypervisorAll versions0:4.3-20190610.0.el7_6
redhat-virtualization-host-image-update Red Hat:enterprise_linux:7::hypervisorAll versions0:4.3-20190610.0.el7_6
redhat-virtualization-host-image-update-placeholder Red Hat:enterprise_linux:7::hypervisorAll versions0:4.3-0.8.el7
rhvm-appliance Red Hat:enterprise_linux:7::hypervisorAll versions2:4.3-20190605.0.el7
cockpit Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit-bridge Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit-doc Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit-machines-ovirt Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit-system Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit-ws Red Hat:enterprise_linux:7::serverAll versions0:173.2-1.el7
cockpit Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7
cockpit-bridge Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7
cockpit-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7
cockpit-doc Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7
cockpit-machines-ovirt Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7
cockpit-system Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7
cockpit-ws Red Hat:enterprise_linux:7::workstationAll versions0:173.2-1.el7

Products include Cockpit-Project Cockpit, Fedoraproject Fedora, Redhat Virtualization.

How do I fix CVE-2019-3804?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-3804 being exploited?

There is no known exploitation of CVE-2019-3804 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-3804, GHSA-gpg2-6gwq-vf2g, RHSA-2019:0482, RHSA-2019:1569, RHSA-2019:1571, UBUNTU-CVE-2019-3804.

Is CVE-2019-3804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free