Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-20289 EUVD-2021-0732GHSA-244r-fcj3-ghjq

Exposure of class information in RESTEasy

Published Mar 26, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final. The endpoint class and method names are returned as part of the exception response when RESTEasy cannot convert one of the request URI path or query values to the matching JAX-RS resource method's parameter value. The highest threat from this vulnerability is to data confidentiality.

Affected products

VendorProductAffectedFixed
— resteasy resteasy 3.11.5.Final, resteasy 3.15.2.Final, resteasy 4.5.10.Final, resteasy 4.6.1.Final, resteasy 4.6.2.Final —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 resteasy +1 No fix yet —
Ubuntu 26.04 LTS resteasy +1 No fix yet —
Ubuntu 25.10 resteasy +1 No fix yet —
Ubuntu 24.04 LTS resteasy3.0 3.0.26-6ubuntu0.24.04.1 USN-7630-1
Ubuntu 22.04 LTS resteasy3.0 3.0.26-3ubuntu0.1 USN-7630-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS resteasy 3.6.2-2ubuntu0.24.04.1~esm1 USN-7351-1
Ubuntu Pro 22.04 LTS resteasy 3.6.2-2ubuntu0.22.04.1~esm1 USN-7351-1
Ubuntu Pro 20.04 LTS resteasy 3.6.2-2ubuntu0.20.04.1~esm1 USN-7351-1
Ubuntu Pro 20.04 LTS resteasy3.0 3.0.26-1ubuntu0.1~esm1 USN-7630-1
Ubuntu Pro 18.04 LTS resteasy3.0 3.0.26-1~18.04.1~esm1 USN-7630-1
Ubuntu Pro 16.04 LTS resteasy 3.0.6-3ubuntu0.1~esm1 USN-7630-1
ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 15.0.4-1.redhat_00001.1.el7sso RHSA-2022:0152, RHSA-2022:0151
Red Hat JBoss EAP 7 eap7-apache-cxf +3 3.3.12-1.redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-apache-sshd 2.7.0-1.redhat_00001.1.el7eap RHSA-2021:4677, RHSA-2021:4676
Red Hat JBoss EAP 7 eap7-ironjacamar +8 1.5.3-1.Final_redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-jakarta-el 3.0.3-3.redhat_00007.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-jboss-ejb-client 4.0.43-1.Final_redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-jboss-server-migration +21 1.7.2-10.Final_redhat_00011.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-jsoup 1.14.2-1.redhat_00002.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-resteasy +19 3.11.5-1.Final_redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-undertow 2.0.41-1.SP1_redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-wildfly +2 7.3.10-2.GA_redhat_00003.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-wildfly-elytron +1 1.10.15-1.Final_redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk8 +1 7.3.10-2.GA_redhat_00003.1.el7eap RHSA-2021:5150, RHSA-2021:4676
Red Hat JBoss EAP 7 eap7-wss4j +6 2.2.7-1.redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149
Red Hat JBoss EAP 7 eap7-xml-security 2.1.7-1.redhat_00001.1.el6eap RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 resteasy-base +12 3.0.6-4.amzn2.0.1 ALAS2-2024-2398

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jboss.resteasy:resteasy-core >= 4.6.0, < 4.6.1 4.6.1 GHSA-244r-fcj3-ghjq
Maven org.jboss.resteasy:resteasy-core >= 4.0.0, < 4.5.10 4.5.10 GHSA-244r-fcj3-ghjq
Maven org.jboss.resteasy:resteasy-core >= 3.0.0, < 3.16.0 3.16.0 GHSA-244r-fcj3-ghjq

Advisories 11

References