CVE-2021-20289
Exposure of class information in RESTEasy
Also known as GHSA-244r-fcj3-ghjq
Mitigation
- Upgrade org.jboss.resteasy:resteasy-core to one of 4.6.1, 4.5.10, 3.16.0 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.jboss.resteasy:resteasy-core (>= 4.6.0, < 4.6.1)
- Anyone running 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
Vulnerability facts
- Affected
- org.jboss.resteasy:resteasy-core >= 4.6.0, < 4.6.1
- Fixed in
- 4.6.1, 4.5.10, 3.16.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.32% chance of exploitation in 30 days (percentile 71, 2026-11-26)
- CWE
- CWE-209
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.jboss.resteasy:resteasy-core | >= 4.6.0, < 4.6.1 | 4.6.1, 4.5.10, 3.16.0 | osv |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-20289. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-20289.md Affected: org.jboss.resteasy:resteasy-core >= 4.6.0, < 4.6.1 Fixed in: 4.6.1, 4.5.10, 3.16.0 Steps: 1. Search this machine and project for org.jboss.resteasy:resteasy-core (Maven), resteasy: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2021-20289 being exploited?
There is no confirmed exploitation: CVE-2021-20289 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-20289?
Medium: CVSS 5.3 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2021-20289?
org.jboss.resteasy:resteasy-core >= 4.6.0, < 4.6.1.
Is there a fix for CVE-2021-20289?
Yes. Fixed in 4.6.1, 4.5.10, 3.16.0. Upgrade org.jboss.resteasy:resteasy-core to one of 4.6.1, 4.5.10, 3.16.0 (or later in the same release line).
How do I check if I'm affected by CVE-2021-20289?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.