Improper Authorization Affecting io.quarkus:quarkus-security-deployment package, versions [0,3.2.10.Final)[3.3.0.CR1,3.6.8)[3.7.0.CR1,3.7.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IOQUARKUS-6192005
  • published26 Jan 2024
  • disclosed24 Jan 2024
  • creditUnknown

Introduced: 24 Jan 2024

CVE-2023-5675  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade io.quarkus:quarkus-security-deployment to version 3.2.10.Final, 3.6.8, 3.7.1 or higher.

Overview

io.quarkus:quarkus-security-deployment is a Quarkus Security Deployment

Affected versions of this package are vulnerable to Improper Authorization due to improper enforcement of authorization checks in JAX-RS endpoints that are either declared in abstract Java classes or customized by Quarkus extensions using the annotation processor. An attacker can bypass access restrictions by exploiting the lack of authorization on these endpoints.

Note:

A combination of 2 factors triggers it:

  1. 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.

  2. 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

CVSS Scores

version 3.1