CVE-2021-20289
Exposure of class information in RESTEasy
Description
A flaw was found in RESTEasy in all current 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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jboss.resteasy » resteasy-core | >= 3.0.0, < 3.16.0>= 4.0.0, < 4.5.10>= 4.6.0, < 4.6.1 | 3.16.0, 4.5.10, 4.6.1 |
Blast radius
33% of the dependent artifacts (223) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 868 |
| 2 hops | 2,726 |
| 3 hops | 3,207 |
| 4 hops | 3,049 |
| 5 hops | 1,523 |
| 6 hops | 461 |
Most used dependents
- io.quarkus » quarkus-resteasy1,251 usages
- org.jboss.resteasy » resteasy-client895 usages
- io.quarkus » quarkus-resteasy-jackson543 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.jboss.resteasy » resteasy-multipart-provider336 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- io.quarkus » quarkus-resteasy-jsonb231 usages
- io.quarkus » quarkus-vertx229 usages
- io.quarkus » quarkus-rest-client212 usages
- io.quarkus » quarkus-rest-client-jackson198 usages
- org.jboss.resteasy » resteasy-cdi198 usages
- io.quarkus » quarkus-vertx-deployment163 usages
- io.quarkus » quarkus-resteasy-deployment129 usages
- org.kie.kogito » kogito-quarkus124 usages
- io.quarkus » quarkus-oidc115 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-20289 | nvd.nist.gov |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | browse/RESTEASY-2843 | issues.redhat.com |
| Web | advisory/ntap-20210528-0008 | security.netapp.com |
| Web | security-alerts/cpuapr2022.html | oracle.com |
