CVE-2024-1635 Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol
Description
A vulnerability was found in Undertow. This vulnerability impacts a server that supports the wildfly-http-client protocol. Whenever a malicious user opens and closes a connection with the HTTP port of the server and then closes the connection immediately, the server will end with both memory and open file limits exhausted at some point, depending on the amount of memory available. At HTTP upgrade to remoting, the WriteTimeoutStreamSinkConduit leaks connections if RemotingConnection is closed by Remoting ServerConnectionOpenListener. Because the remoting connection originates in Undertow as part of the HTTP upgrade, there is an external layer to the remoting connection. This connection is unaware of the outermost layer when closing the connection during the connection opening procedure. Hence, the Undertow WriteTimeoutStreamSinkConduit is not notified of the closed connection in this scenario. Because WriteTimeoutStreamSinkConduit creates a timeout task, the whole dependency tree leaks via that task, which is added to XNIO WorkerThread. So, the workerThread points to the Undertow conduit, which contains the connections and causes the leak.
Détail CVSS 3.1
Vecteur CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitable à distance par le réseau, sans compte et sans action d’un utilisateur ; un attaquant peut compromettre gravement la confidentialité, l’intégrité ou la disponibilité.
- Vecteur d’attaque
- Réseau
- Complexité
- Faible
- Privilèges requis
- Aucun
- Interaction
- Aucune
- Portée
- Inchangée
- Confidentialité
- Aucun
- Intégrité
- Aucun
- Disponibilité
- Élevé
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 | Versions non publiées | |
| Red Hat Fuse 7.13.0 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 2.2 | premières → < 2.2.30.SP1-redhat-00001 | 2.2.30.SP1-redhat-00001 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | Versions non publiées | |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | Versions non publiées | |
| Red Hat Single Sign-On 7.6 for RHEL 7 | Versions non publiées |