CVE-2021-20293
A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.
What to do
Maven, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | resteasy3.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | resteasy3.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | resteasy | Fix pending | ||
| Red Hat Enterprise Linux 8 | resteasy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-atom-provider | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-jackson-provider | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-jaxb-provider | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-jaxrs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-jaxrs-all | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-jaxrs-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-jettison-provider | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-providers-pom | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-resteasy-pom | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | resteasy-base-tjws | Will not fix Will not fix | ||
| Maven library | org.jboss.resteasy:resteasy-bom | Fix pending | GHSA-5h26-c766-g93v | |
| Maven library | org.jboss.resteasy:resteasy-core | Fix pending | GHSA-5h26-c766-g93v |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RESTEasy: affected: All versions of RESTEasy up to 4.6.0.Final
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1942819
- https://security.netapp.com/advisory/ntap-20210727-0005/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.