Loop with Unreachable Exit Condition ('Infinite Loop') Affecting eap7-resteasy-async-http-servlet-3.0 package, versions <0:3.0.19-5.SP3_redhat_1.1.ep7.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.24% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-EAP7RESTEASYASYNCHTTPSERVLET30-5327398
  • published30 Mar 2023
  • disclosed7 Jun 2017

Introduced: 7 Jun 2017

CVE-2017-2670  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade RHEL:7 eap7-resteasy-async-http-servlet-3.0 to version 0:3.0.19-5.SP3_redhat_1.1.ep7.el7 or higher.
This issue was patched in RHSA-2017:1411.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eap7-resteasy-async-http-servlet-3.0 package and not the eap7-resteasy-async-http-servlet-3.0 package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

It was found in Undertow before 1.3.28 that with non-clean TCP close, the Websocket server gets into infinite loop on every IO thread, effectively causing DoS.