CVE-2023-6267: Resteasy reactive Quarkus Improper Handling Of Insufficient Vulnerability

HIGH
Advisory Identifier: GHSA-8j3x-w35r-rw4r
CVSS 8.6
CWE-755 CWE-502 CWE-280
Published
Advisory Summary

CVE-2023-6267 is a HIGH (CVSS 8.6) quarkus improper handling of insufficient vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Resteasy reactive libraries in the Maven ecosystem. The issue involves quarkus improper handling of insufficient permissions or privileges and improper handling of exceptional conditions vulnerability. Remediation is available by upgrading affected packages to version 2.13.9.Final, 3.2.9.Final.

CVE-2023-6267 at a Glance

CVE Identifier CVE-2023-6267
GHSA Identifier GHSA-8j3x-w35r-rw4r
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification CWE-755: Improper Handling of Exceptional Conditions
Affected Product Resteasy reactive
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability High (A:H)

How to Fix CVE-2023-6267

To remediate this vulnerability, upgrade all affected Resteasy reactive dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.quarkus.resteasy.reactive:resteasy-reactive fixed: 2.13.9.Final
<dependency>
    <groupId>io.quarkus.resteasy.reactive</groupId>
    <artifactId>resteasy-reactive</artifactId>
    <version>2.13.9.Final</version>
</dependency>
io.quarkus.resteasy.reactive:resteasy-reactive fixed: 3.2.9.Final
<dependency>
    <groupId>io.quarkus.resteasy.reactive</groupId>
    <artifactId>resteasy-reactive</artifactId>
    <version>3.2.9.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-6267, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive

Analyze the terminal output to locate any version of Resteasy reactive in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.9.Final), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Resteasy reactive, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A flaw was found in the json payload. If annotation based security is used to secure a REST resource, the JSON body that the resource may consume is being processed (deserialized) prior to the security constraints being evaluated and applied. This does not happen with configuration based security.

CVE-2023-6267 Affected Resteasy reactive Versions

2 component(s)
Fixed Versions:
2.13.9.Final3.2.9.Final
Product / Package Ecosystem Affected Versions Fixed Version
io.quarkus.resteasy.reactive:resteasy-reactive
Maven
< 2.13.9.Final
2.13.9.Final
io.quarkus.resteasy.reactive:resteasy-reactive
Maven
≥ 3.0.0.Final
< 3.2.9.Final
3.2.9.Final

References

Frequently Asked Questions

What is CVE-2023-6267?
CVE-2023-6267 is a security vulnerability in Resteasy reactive involving Quarkus Improper Handling of Insufficient Permissions or Privileges and Improper Handling of Exceptional Conditions vulnerability under CWE-755: Improper Handling of Exceptional Conditions.
Which Resteasy reactive versions are affected?
Affected versions include releases prior to 2.13.9.Final, 3.2.9.Final across affected packages: io.quarkus.resteasy.reactive:resteasy-reactive.
What version fixes CVE-2023-6267?
Upgrading to 2.13.9.Final, 3.2.9.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is resteasy-reactive affected?
Yes, io.quarkus.resteasy.reactive:resteasy-reactive is affected in releases prior to 2.13.9.Final, 3.2.9.Final. Upgrade your dependency to 2.13.9.Final, 3.2.9.Final or later.
What is the CVSS score of CVE-2023-6267?
CVE-2023-6267 has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
What CWE is associated with CVE-2023-6267?
CVE-2023-6267 is classified under CWE-755: Improper Handling of Exceptional Conditions (The product does not handle or incorrectly handles an exceptional condition.).
How can I check Maven dependencies for CVE-2023-6267?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.quarkus.resteasy.reactive'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8j3x-w35r-rw4r",
  "modified" : "2024-11-25T14:33:44Z",
  "published" : "2024-01-25T21:32:14Z",
  "aliases" : [ "CVE-2023-6267" ],
  "summary" : "Quarkus Improper Handling of Insufficient Permissions or Privileges and Improper Handling of Exceptional Conditions vulnerability",
  "details" : "A flaw was found in the json payload. If annotation based security is used to secure a REST resource, the JSON body that the resource may consume is being processed (deserialized) prior to the security constraints being evaluated and applied. This does not happen with configuration based security.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus.resteasy.reactive:resteasy-reactive"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.13.9.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus.resteasy.reactive:resteasy-reactive"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0.Final"
      }, {
        "fixed" : "3.2.9.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-6267"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:0494"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:0495"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2023-6267"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2251155"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/quarkusio/quarkus"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-280", "CWE-502", "CWE-755" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-31T22:38:58Z",
    "nvd_published_at" : "2024-01-25T19:15:08Z"
  }
}