Skip to content
Fencer Intel
medium 5.3

CVE-2021-20289 json

Exposure of class information in RESTEasy

published 5y ago modified 4mo ago also GHSA-244r-fcj3-ghjq , EUVD-2021-0732

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 72%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.jboss.resteasy:resteasy-core 3.16.0, 4.5.10, 4.6.1
  • quarkus quarkus 1.13.4
  • resteasy3.0 Ubuntu 22.04 LTS 3.0.26-3ubuntu0.1
  • resteasy3.0 Ubuntu 24.04 LTS 3.0.26-6ubuntu0.24.04.1
  • resteasy Ubuntu Pro 16.04 LTS 3.0.6-3ubuntu0.1~esm1
  • resteasy Ubuntu Pro 20.04 LTS 3.6.2-2ubuntu0.20.04.1~esm1
  • resteasy Ubuntu Pro 22.04 LTS 3.6.2-2ubuntu0.22.04.1~esm1
  • resteasy Ubuntu Pro 24.04 LTS 3.6.2-2ubuntu0.24.04.1~esm1
  • resteasy3.0 Ubuntu Pro 18.04 LTS 3.0.26-1~18.04.1~esm1
  • resteasy3.0 Ubuntu Pro 20.04 LTS 3.0.26-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-20289

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • eap7-jsoup jboss enterprise application platform 7.4, jboss enterprise application platform 7.3 1.14.2-1.redhat_00002.1.el8eap
  • eap7-wss4j jboss enterprise application platform 7.3 2.2.7-1.redhat_00001.1.el8eap
  • eap7-wildfly jboss enterprise application platform 7.3 7.3.10-2.GA_redhat_00003.1.el8eap
  • eap7-resteasy jboss enterprise application platform 7.3 3.11.5-1.Final_redhat_00001.1.el8eap
  • eap7-undertow jboss enterprise application platform 7.3 2.0.41-1.SP1_redhat_00001.1.el8eap
  • eap7-apache-cxf jboss enterprise application platform 7.3 3.3.12-1.redhat_00001.1.el8eap
  • eap7-jakarta-el jboss enterprise application platform 7.3 3.0.3-3.redhat_00007.1.el8eap
  • eap7-ironjacamar jboss enterprise application platform 7.3 1.5.3-1.Final_redhat_00001.1.el8eap

red hat advisories RHSA-2021:5151RHSA-2021:5150RHSA-2021:5149RHSA-2021:4677RHSA-2021:4676RHSA-2022:0151

Is CVE-2021-20289 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

1.40% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.jboss.resteasy:resteasy-core
>=4.6.0, <4.6.1
>=4.0.0, <4.5.10
>=3.0.0, <3.16.0
4.6.1
4.5.10
3.16.0

Affected products

  • n/a resteasy

Classification

Weakness
  • CWE-209 Generation of Error Message Containing Sensitive Information
  • CWE-668 Exposure of Resource to Wrong Sphere

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.