CVE-2023-5675: Quarkus: authorization flaw in quarkus resteasy reactive and classic when "quarkus.security.jaxrs.deny-unannotated-endpoints" or "quarkus.security.jaxrs.default-roles-allowed" properties are used.

Published Oct 20, 2023
·
Updated

A flaw was found in Quarkus. When a Quarkus RestEasy Classic or Reactive JAX-RS endpoint has its methods declared in the abstract Java class or customized by Quarkus extensions using the annotation processor, the authorization of these methods will not be enforced if it is enabled by either 'quarkus.security.jaxrs.deny-unannotated-endpoints' or 'quarkus.security.jaxrs.default-roles-allowed' properties.

Other sources

Quarkus could allow a remote attacker to bypass security restrictions, caused by improper authorization validation when "quarkus.security.jaxrs.deny-unannotated-endpoints" or "quarkus.security.jaxrs.default-roles-allowed" properties are used. By sending a specially-crafted request, an attacker could exploit this vulnerability to bypass access restrictions.

IBM

When a RestEasy Reactive JAX-RS endpoint has its methods with HTTP method annotations declared in the abstract Java class or when its methods without HTTP method annotations are customised by Quarkus extensions to handle JAX-RS GET requests using the annotation processor, then the authorization of these methods will not be enforced if it is enabled by either 'quarkus.security.jaxrs.deny-unannotated-endpoints' or 'quarkus.security.jaxrs.default-roles-allowed' properties

So a combination of 2 factors triggers it: Users enable the security authorization of JAX-RS endpoints with either 'quarkus.security.jaxrs.deny-unannotated-endpoints' or quarkus.security.jaxrs.default-roles-allowed properties Users declare JAX-RS methods which must be secured with these properties in the Java abstract class which the JAX-RS endpoint class will extend

Red Hat

Affected Software

6 affected componentsFixes available
maven/io.quarkus:quarkus-resteasy-reactive-common>=3.7.0<3.7.1
3.7.1
maven/io.quarkus:quarkus-resteasy-reactive-common-deployment>=3.7.0<3.7.1
3.7.1
maven/io.quarkus:quarkus-resteasy-reactive-common>=3.3.0<3.6.9
3.6.9
maven/io.quarkus:quarkus-resteasy-reactive-common-deployment>=3.3.0<3.6.9
3.6.9
maven/io.quarkus:quarkus-resteasy-reactive-common<3.2.10.Final
3.2.10.Final
maven/io.quarkus:quarkus-resteasy-reactive-common-deployment<3.2.10.Final
3.2.10.Final

Event History

Oct 20, 2023
Data Sourced
via Red Hat·04:37 AM
DescriptionSeverityAffected Software
Mar 28, 2024
CVE Published
via IBM·12:00 AM
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Apr 25, 2024
CVE Published
via MITRE·03:44 PM
Data Sourced
via MITRE·03:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-5675?

CVE-2023-5675 is considered a critical security vulnerability in Quarkus.

2

How do I fix CVE-2023-5675?

To fix CVE-2023-5675, update Quarkus to version 3.7.1 for both quarkus-resteasy-reactive-common and quarkus-resteasy-reactive-common-deployment.

3

Which versions of Quarkus are affected by CVE-2023-5675?

CVE-2023-5675 affects Quarkus versions 3.3.0 to 3.7.0 for the packages io.quarkus:quarkus-resteasy-reactive-common and io.quarkus:quarkus-resteasy-reactive-common-deployment.

4

What are the consequences of CVE-2023-5675?

The consequences of CVE-2023-5675 include the potential failure to enforce authorization on specified JAX-RS methods, which may lead to unauthorized access.

5

Is there a workaround available for CVE-2023-5675?

There are no known workarounds for CVE-2023-5675; updating to the latest version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203