Bug 2117506 (CVE-2022-2764) - CVE-2022-2764 Undertow: DoS can be achieved as Undertow server waits for the LAST_CHUNK forever for EJB invocations
Summary: CVE-2022-2764 Undertow: DoS can be achieved as Undertow server waits for the ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-2764
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2117501
TreeView+ depends on / blocked
 
Reported: 2022-08-11 08:10 UTC by Sandipan Roy
Modified: 2023-03-01 21:58 UTC (History)
74 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Undertow with EJB invocations. This flaw allows an attacker to generate a valid HTTP request and send it to the server on an established connection after removing the LAST_CHUNK from the bytes, causing a denial of service.
Clone Of:
Environment:
Last Closed: 2022-12-09 17:02:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:8790 0 None None None 2022-12-05 21:06:34 UTC
Red Hat Product Errata RHSA-2022:8791 0 None None None 2022-12-05 21:07:19 UTC
Red Hat Product Errata RHSA-2022:8792 0 None None None 2022-12-05 21:05:44 UTC
Red Hat Product Errata RHSA-2022:8793 0 None None None 2022-12-05 21:10:29 UTC
Red Hat Product Errata RHSA-2023:1043 0 None None None 2023-03-01 21:43:03 UTC
Red Hat Product Errata RHSA-2023:1044 0 None None None 2023-03-01 21:45:27 UTC
Red Hat Product Errata RHSA-2023:1045 0 None None None 2023-03-01 21:47:58 UTC
Red Hat Product Errata RHSA-2023:1047 0 None None None 2023-03-01 21:50:43 UTC
Red Hat Product Errata RHSA-2023:1049 0 None None None 2023-03-01 21:58:58 UTC

Description Sandipan Roy 2022-08-11 08:10:56 UTC
UndertowInputStream.close() blocks waiting to read -1

https://issues.redhat.com/browse/UNDERTOW-2048

Comment 4 Peter Palaga 2022-08-29 15:42:15 UTC
@pjindal I see that this CVE is valid fro Undertow 2.x. I wonder whether it is also reproducible on quarkus-http which was developed on top of Undertow 2.x?
Note that there is io.undertow.httpcore.UndertowInputStream class in quarkus-http.

Comment 5 Paramvir jindal 2022-08-30 05:44:54 UTC
In reply to comment #4:
> @pjindal I see that this CVE is valid fro Undertow 2.x. I wonder
> whether it is also reproducible on quarkus-http which was developed on top
> of Undertow 2.x?
> Note that there is io.undertow.httpcore.UndertowInputStream class in
> quarkus-http.

Peter, I have added you in https://issues.redhat.com/browse/UNDERTOW-2048, there is a comment on this jira on details about reproducing this issue. Also since quarkus-http is based on Undertow 2.x means quarkus ships the affected code and hence it should be marked as affected. I am still not sure if this can be reproduced in quarkus as it is not easy to reproduce. 

Since this is already a Low impact CVE, I am marking quarkus as affected for this CVE so that we can fix the affected undertow code in quarkus 2.x.

Comment 10 James Howe 2022-09-13 09:46:44 UTC
Is there a simple mitigation for this?

As far as I am aware, I don't use EJB invocations. Is there a setting to disable them, or are they not even configured by default?

Comment 13 errata-xmlrpc 2022-12-05 21:05:41 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9

Via RHSA-2022:8792 https://access.redhat.com/errata/RHSA-2022:8792

Comment 14 errata-xmlrpc 2022-12-05 21:06:31 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7

Via RHSA-2022:8790 https://access.redhat.com/errata/RHSA-2022:8790

Comment 15 errata-xmlrpc 2022-12-05 21:07:16 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8

Via RHSA-2022:8791 https://access.redhat.com/errata/RHSA-2022:8791

Comment 16 errata-xmlrpc 2022-12-05 21:10:25 UTC
This issue has been addressed in the following products:

  EAP 7.4.8 release

Via RHSA-2022:8793 https://access.redhat.com/errata/RHSA-2022:8793

Comment 17 Product Security DevOps Team 2022-12-09 17:02:24 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-2764

Comment 19 errata-xmlrpc 2023-03-01 21:42:59 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 7

Via RHSA-2023:1043 https://access.redhat.com/errata/RHSA-2023:1043

Comment 20 errata-xmlrpc 2023-03-01 21:45:23 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 8

Via RHSA-2023:1044 https://access.redhat.com/errata/RHSA-2023:1044

Comment 21 errata-xmlrpc 2023-03-01 21:47:55 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 9

Via RHSA-2023:1045 https://access.redhat.com/errata/RHSA-2023:1045

Comment 22 errata-xmlrpc 2023-03-01 21:50:39 UTC
This issue has been addressed in the following products:

  RHEL-8 based Middleware Containers

Via RHSA-2023:1047 https://access.redhat.com/errata/RHSA-2023:1047

Comment 23 errata-xmlrpc 2023-03-01 21:58:55 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On

Via RHSA-2023:1049 https://access.redhat.com/errata/RHSA-2023:1049


Note You need to log in before you can comment on or make changes to this bug.