# CVE-2021-20289: Exposure of class information in RESTEasy

Source: https://junglewise.ai/threats/cve-2021-20289-exposure-of-class-information-in-resteasy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-07  
License: CC BY 4.0 with a link back

CVE-2021-20289 · Severity: low · CVSS 3.1 · Published 2021-04-07

Exposure of class information in RESTEasy

Technologies: [org.jboss.resteasy:resteasy-core (Maven)](https://junglewise.ai/threats/technologies/org-jboss-resteasy-resteasy-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-20289 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-20289 being exploited in the wild.

**How severe is CVE-2021-20289?** Low severity, with a CVSS score of 3.1, published 7 April 2021.

**Which products and versions are affected?** org.jboss.resteasy:resteasy-core (Maven) ECOSYSTEM:introduced=4.6.0,fixed=4.6.1.

**Is there a fix for CVE-2021-20289?** Yes. org.jboss.resteasy:resteasy-core (Maven): upgrade to 4.6.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-20289?** Check whether you run org.jboss.resteasy:resteasy-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jboss.resteasy:resteasy-core (Maven): upgrade to 4.6.1 or later

  ```sh
  # set org.jboss.resteasy:resteasy-core to 4.6.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.jboss.resteasy:resteasy-core (Maven) ECOSYSTEM:introduced=4.6.0,fixed=4.6.1

## Identifiers

- CVE-2021-20289
- GHSA-244r-fcj3-ghjq

## Related threats

- [Insecure Temporary File in RESTEasy](https://junglewise.ai/threats/cve-2023-0482-insecure-temporary-file-in-resteasy)
- [Duplicate Advisory: Insecure Temporary File in RESTEasy](https://junglewise.ai/threats/duplicate-advisory-insecure-temporary-file-in-resteasy-312a0bed)
- [Cross-site scripting in RESTEasy](https://junglewise.ai/threats/cve-2020-10688-cross-site-scripting-in-resteasy)
- [Cross-Site Scripting](https://junglewise.ai/threats/cve-2021-20293-cross-site-scripting)
