cockpit: Crash when parsing invalid base64 headers
Published Mar 26, 2019
7.5
HIGHCVSS 3.1
EPSS 4.86%
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.
Affected products
- Vendor n/a Product Cockpit Defaultn/a
- Version 184StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Cockpit | n/a |
|
Configuration 1
- < 184
Configuration 2
- n/a
Configuration 3
- 4.0
No data.
Red Hat Enterprise Linux 7
cockpit-0:173.2-1.el7
Fixed · RHSA-2019:0482
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
redhat-release-virtualization-host-0:4.3-0.8.el7
Fixed · RHSA-2019:1569
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
redhat-virtualization-host-0:4.3-20190610.0.el7_6
Fixed · RHSA-2019:1569
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
rhvm-appliance-0:4.3-20190605.0.el7
Fixed · RHSA-2019:1571
Red Hat Enterprise Linux 8
cockpit
Not affected
Red Hat OpenShift Container Platform 3.10
cockpit
Not affected
Red Hat OpenShift Container Platform 3.11
cockpit
Not affected
Red Hat OpenShift Container Platform 3.4
cockpit
Not affected
Red Hat OpenShift Container Platform 3.5
cockpit
Not affected
Red Hat OpenShift Container Platform 3.6
cockpit
Not affected
Red Hat OpenShift Container Platform 3.7
cockpit
Not affected
Red Hat OpenShift Container Platform 3.9
cockpit
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | cockpit-0:173.2-1.el7 | Fixed | RHSA-2019:0482 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-release-virtualization-host-0:4.3-0.8.el7 | Fixed | RHSA-2019:1569 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-virtualization-host-0:4.3-20190610.0.el7_6 | Fixed | RHSA-2019:1569 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | rhvm-appliance-0:4.3-20190605.0.el7 | Fixed | RHSA-2019:1571 |
| Red Hat Enterprise Linux 8 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.10 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.11 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.4 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.5 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.6 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.7 | cockpit | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.9 | cockpit | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux (RHEL) ships binary packages built from the cockpit source RPM, which was affected by this flaw and subsequently updated to address the issue. All OpenShift Container Platform (OCP) versions to date ship with an image that contains a cockpit-kubernetes RPM, built separately from the same cockpit SRPM. The cockpit-kubernetes RPM is not affected by this vulnerability as it does not contain the affected code, thus OCP is also marked "not affected". Updates for all other cockpit RPMs should be applied from the appropriate RHEL channels.
References (10)
- https://access.redhat.com/errata/RHSA-2019:1569 vendor-advisoryThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1571 vendor-advisoryThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-3804 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1663567 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3804 Issue TrackingPatchThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-13430 Advisory
- https://github.com/cockpit-project/cockpit/commit/c51f6177576d7e12 PatchThird Party Advisory
- https://github.com/cockpit-project/cockpit/pull/10819 Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-3804
- https://www.cve.org/CVERecord?id=CVE-2019-3804
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:1569 | vendor-advisoryThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2019:1571 | vendor-advisoryThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2019-3804 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1663567 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3804 | Issue TrackingPatchThird Party Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-13430 | Advisory | |
| https://github.com/cockpit-project/cockpit/commit/c51f6177576d7e12 | PatchThird Party Advisory | |
| https://github.com/cockpit-project/cockpit/pull/10819 | Third Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-3804 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-3804 |
Change history (0)
No recorded changes yet.