VDB

CVE-2021-20289

CVE-2021-20289 PUBLISHED

Exposure of class information in RESTEasy

Reported by redhat · Published March 26, 2021

resteasy-core is fixed in 4.7.0, 4.6.1, 4.5.10 and 3 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.jboss.resteasy:resteasy-coreMaven Central4.7.0, 4.6.1, 4.5.10, 3.16.0, 3.15.2, 3.11.5
resteasy-base-jettison-providerAmazon Linux3.0.6-4.amzn2.0.1
resteasy-base-jaxrs-apiAmazon Linux3.0.6-4.amzn2.0.1
resteasy-base-jaxrsAmazon Linux3.0.6-4.amzn2.0.1
resteasy-base-resteasy-pomAmazon Linux3.0.6-4.amzn2.0.1
resteasy-baseAmazon Linux3.0.6-4.amzn2.0.1
resteasy-base-providers-pomAmazon Linux3.0.6-4.amzn2.0.1
resteasy-base-jaxb-providerAmazon Linux3.0.6-4.amzn2.0.1
resteasy-base-jaxrs-allAmazon Linux3.0.6-4.amzn2.0.1
resteasy3.0Ubuntu:24.04:LTS3.0.26-6ubuntu0.24.04.1
resteasy3.0Ubuntu:22.04:LTS3.0.26-3ubuntu0.1
resteasyUbuntu:Pro:24.04:LTS3.6.2-2ubuntu0.24.04.1~esm1

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/aresteasyresteasy 3.11.5.Final, resteasy 3.15.2.Final, resteasy 4.5.10.Final, resteasy 4.6.1.Final, resteasy 4.6.2.Final
n/aresteasyresteasy 3.11.5.Final, resteasy 3.15.2.Final, resteasy 4.5.10.Final, resteasy 4.6.1.Final, resteasy 4.6.2.Final

Timeline

  • Mar 26, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (20 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (21 in total, the first dated here)
  • Aug 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-20289
vulnetix vdb fixes CVE-2021-20289

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20289/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›