Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jboss.resteasy/resteasy-jaxrs
  4. ›
  5. CVE-2021-20289

CVE-2021-20289: Information Exposure Through an Error Message

March 26, 2021 (updated May 10, 2022)

A flaw was found in RESTEasy where 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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1935927
  • nvd.nist.gov/vuln/detail/CVE-2021-20289

Code Behaviors & Features

Detect and mitigate CVE-2021-20289 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.11.5, all versions starting from 3.15.0 before 3.15.2, all versions starting from 4.5.0 before 4.5.10, all versions starting from 4.6.0 before 4.7.0

Fixed versions

  • 3.11.5.Final
  • 3.15.2.Final
  • 4.5.10.Final
  • 4.7.0.Final

Solution

Upgrade to version 3.11.5.Final, 3.15.2.Final, 4.5.10.Final, 4.7.0.Final or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

maven/org.jboss.resteasy/resteasy-jaxrs/CVE-2021-20289.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:57 +0000.