In 389-ds-base, requests are handled by workers threads. Each sockets will be waited by the worker for at most 'ioblocktimeout' seconds.
However this timeout applies only for un-encrypted requests. Connections using SSL/TLS are not taking this timeout into account during reads, and may hang longer.
An unauthenticated attacker could repeatedly create hanging LDAP requests to hang all the workers, resulting in a Denial of Service.
Is there any further references for this issue? Upstream issue or fixing commits? Thanks already for any hints!
Upstream does not appear to have been contacted about this issue. Perhaps the developers of 389 at redhat have? We have had some issues in the past with communication of security issues though.
I will be investigating this soon.
Created attachment 1555159 [details]
Make sure secure connection enforce the ioblocktimeout
There is a proposed patch uploaded via comment 7.
Upstream fixes :
1.3.8 branch :
1.3.9 branch :
1.4.0 branch :
master branch :
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2019:1896 https://access.redhat.com/errata/RHSA-2019:1896
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):