CVEfocus › CVE database › CVE-2021-20293

CVE-2021-20293

CVSS 6.1 MediumEPSS 0.9% (higher than 56% of CVEs)Published 2021-06-10Updated 2024-08-03Assigner: redhat

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.

CWE-79

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

3Fix pending
15Will not fix
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04resteasy3.0Not affected
vulnerable_code_not_present
Ubuntu 22.04resteasy3.0Not affected
vulnerable_code_not_present
Ubuntu 16.04resteasyFix pending
Red Hat Enterprise Linux 8resteasyWill not fix
Will not fix
Red Hat Enterprise Linux 8resteasy-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-baseWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-atom-providerWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-clientWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-jackson-providerWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-jaxb-providerWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-jaxrsWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-jaxrs-allWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-jaxrs-apiWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-jettison-providerWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-providers-pomWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-resteasy-pomWill not fix
Will not fix
Red Hat Enterprise Linux 7resteasy-base-tjwsWill not fix
Will not fix
Maven libraryorg.jboss.resteasy:resteasy-bomFix pendingGHSA-5h26-c766-g93v
Maven libraryorg.jboss.resteasy:resteasy-coreFix pendingGHSA-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.

References

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.