Lucene search

K
redhatcveRedhat.comRH:CVE-2019-10222
HistoryApr 09, 2020 - 12:44 p.m.

CVE-2019-10222

2020-04-0912:44:26
redhat.com
access.redhat.com
10

0.004 Low

EPSS

Percentile

75.1%

A flaw was found in the Ceph RGW configuration with Beast as the front end handling client requests. An unauthenticated attacker could crash the Ceph RGW server by sending valid HTTP headers and terminating the connection, resulting in a remote denial of service for Ceph RGW clients.

Mitigation

To mitigate this issue either of the following options can be applied to system:

Mitigation 1:
1. By default system will use /etc/init.d/ceph-radosgw
stop this service by

~]# /etc/init.d/ceph-radosgw stop

2. Create systemd service, and change command line parameters according to the environment
where Ceph radosgw is running.

~]# cat /usr/lib/systemd/system/ceph-rgw.service
[Unit]
Description=Ceph RGW daemon

[Service]
Type=forking
ExecStart=/bin/radosgw -n client.rgw.$(HOSTNAME REDACTED)
Restart=on-abnormal
RestartSec=1s

[Install]
WantedBy=multi-user.target

3. Run systemd service 'ceph-rgw.service'

Caveat: It still takes +1-2 sec to get service back online. After applying above mentioned mitigation, the malicious IP can be blocked by a firewall rule if there are continuous attempts to launch remote denial of service. This mitigation is of limited use if the attack is launched from multiple IPs. It is recommended to limit the exposure of ceph RGW server to known clients.

OR

Mitigation 2:
use 'civetweb' as HTTP frontend with ceph RGW.