CVE-2025-1247: Quarkus rest Quarkus REST Endpoint Request Parameter Vulnerability

HIGH
Advisory Identifier: GHSA-phg3-gv66-q38x
CVSS 8.3
CWE-488
Published
Advisory Summary

CVE-2025-1247 is a HIGH (CVSS 8.3) quarkus rest endpoint request parameter vulnerability (CWE-488: Exposure of Data Element to Wrong Session) affecting Quarkus rest libraries in the Maven ecosystem. The issue involves quarkus rest endpoint request parameter leakage due to shared instance. Remediation is available by upgrading affected packages to version 3.18.2, 3.15.3.1, 3.8.6.1.

CVE-2025-1247 at a Glance

CVE Identifier CVE-2025-1247
GHSA Identifier GHSA-phg3-gv66-q38x
Severity HIGH
CVSS v3.1 Base Score 8.3
CWE Classification CWE-488: Exposure of Data Element to Wrong Session
Affected Product Quarkus rest
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.3

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

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

How to Fix CVE-2025-1247

To remediate this vulnerability, upgrade all affected Quarkus rest 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:quarkus-rest fixed: 3.18.2
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest</artifactId>
    <version>3.18.2</version>
</dependency>
io.quarkus:quarkus-rest-deployment fixed: 3.18.2
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest-deployment</artifactId>
    <version>3.18.2</version>
</dependency>
io.quarkus:quarkus-rest fixed: 3.15.3.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest</artifactId>
    <version>3.15.3.1</version>
</dependency>
io.quarkus:quarkus-rest-deployment fixed: 3.15.3.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest-deployment</artifactId>
    <version>3.15.3.1</version>
</dependency>
io.quarkus:quarkus-rest fixed: 3.8.6.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest</artifactId>
    <version>3.8.6.1</version>
</dependency>
io.quarkus:quarkus-rest-deployment fixed: 3.8.6.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest-deployment</artifactId>
    <version>3.8.6.1</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

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=io.quarkus

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

Note: The mvn dependency:tree -Dincludes=io.quarkus 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-488: Exposure of Data Element to Wrong Session, where the product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session. In Quarkus rest, 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 Quarkus REST that allows request parameters to leak between concurrent requests if endpoints use field injection without a CDI scope. This vulnerability allows attackers to manipulate request data, impersonate users, or access sensitive information.

CVE-2025-1247 Affected Quarkus rest Versions

6 component(s)
Fixed Versions:
3.18.23.15.3.13.8.6.1
Product / Package Ecosystem Affected Versions Fixed Version
io.quarkus:quarkus-rest
Maven
≥ 3.16.0.CR1
< 3.18.2
3.18.2
io.quarkus:quarkus-rest-deployment
Maven
≥ 3.16.0.CR1
< 3.18.2
3.18.2
io.quarkus:quarkus-rest
Maven
≥ 3.9.0.CR1
< 3.15.3.1
3.15.3.1
io.quarkus:quarkus-rest-deployment
Maven
≥ 3.9.0.CR1
< 3.15.3.1
3.15.3.1
io.quarkus:quarkus-rest
Maven
< 3.8.6.1
3.8.6.1
io.quarkus:quarkus-rest-deployment
Maven
< 3.8.6.1
3.8.6.1

References

Frequently Asked Questions

What is CVE-2025-1247?
CVE-2025-1247 is a security vulnerability in Quarkus rest involving Quarkus REST Endpoint Request Parameter Leakage Due to Shared Instance under CWE-488: Exposure of Data Element to Wrong Session.
Which Quarkus rest versions are affected?
Affected versions include releases prior to 3.18.2, 3.15.3.1, 3.8.6.1 across affected packages: io.quarkus:quarkus-rest, io.quarkus:quarkus-rest-deployment.
What version fixes CVE-2025-1247?
Upgrading to 3.18.2, 3.15.3.1, 3.8.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quarkus-rest affected?
Yes, io.quarkus:quarkus-rest is affected in releases prior to 3.18.2, 3.15.3.1, 3.8.6.1. Upgrade your dependency to 3.18.2, 3.15.3.1, 3.8.6.1 or later.
Is quarkus-rest-deployment affected?
Yes, io.quarkus:quarkus-rest-deployment is affected in releases prior to 3.18.2, 3.15.3.1, 3.8.6.1. Upgrade your dependency to 3.18.2, 3.15.3.1, 3.8.6.1 or later.
What is the CVSS score of CVE-2025-1247?
CVE-2025-1247 has a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2025-1247?
CVE-2025-1247 is classified under CWE-488: Exposure of Data Element to Wrong Session (The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session.).
How can I check Maven dependencies for CVE-2025-1247?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.quarkus'. 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-phg3-gv66-q38x",
  "modified" : "2025-03-03T15:31:24Z",
  "published" : "2025-02-13T15:31:25Z",
  "aliases" : [ "CVE-2025-1247" ],
  "summary" : "Quarkus REST Endpoint Request Parameter Leakage Due to Shared Instance",
  "details" : "A flaw was found in Quarkus REST that allows request parameters to leak between concurrent requests if endpoints use field injection without a CDI scope. This vulnerability allows attackers to manipulate request data, impersonate users, or access sensitive information.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.16.0.CR1"
      }, {
        "fixed" : "3.18.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-rest-deployment"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.16.0.CR1"
      }, {
        "fixed" : "3.18.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0.CR1"
      }, {
        "fixed" : "3.15.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-rest-deployment"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0.CR1"
      }, {
        "fixed" : "3.15.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.8.6.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-rest-deployment"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.8.6.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1247"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/issues/45789"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/02ff9ed45c3928edf2a0f8b906543606fed7cd53"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/d8df15cec17dc5d085efc372d77cbef1341ae071"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/f42166ee7041ed09b7183d5dbf3ece2439b16676"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:1884"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:1885"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:2067"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-1247"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2345172"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/quarkusio/quarkus"
  }, {
    "type" : "WEB",
    "url" : "https://quarkus.io/blog/cve-fixes-feb-2025"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-488" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-13T17:36:18Z",
    "nvd_published_at" : "2025-02-13T14:16:18Z"
  }
}