Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.quarkus/quarkus-vertx
  4. ›
  5. CVE-2025-49574

CVE-2025-49574: Quarkus potentially leaks data when duplicating a duplicated context

June 23, 2025 (updated June 27, 2025)

Vert.x 4.5.12 has changed the semantics of the duplication of duplicated context.

Duplicated context is an object used to propagate data through a processing (synchronous or asynchronous). Each “transaction” or “processing” runs on its own isolated duplicated context.

Initially, duplicating a duplicated context was creating a fresh (empty) new context, meaning that the new duplicated context can be used to managed a separated transaction.

In Vert.x 4.5.12, this semantics has changed, and since the content of the parent duplicated context is copied into the new one, potentially leaking data.

This CVE is especially for Quarkus as Quarkus extensively uses the Vert.x duplicated context to implement context propagation. With the new semantic data from one transaction can leak to the data from another transaction. From a Vert.x point of view, this new semantic clarifies the behavior.

A significant amount of data is stored in the duplicated context, including request scope, security details, and metadata. Duplicating a duplicated context is rather rare and is only done in a few places:

  • Quarkus REST Client when using OTel (but it’s the same transaction, so no leak)
  • Quarkus Messaging connectors
  • Quarkus SmallRye Health (same transaction, so no leak)

References

  • github.com/advisories/GHSA-9623-mj7j-p9v4
  • github.com/quarkusio/quarkus
  • github.com/quarkusio/quarkus/commit/2b58f59f4bf0bae7d35b1abb585b65f2a66787d1
  • github.com/quarkusio/quarkus/issues/48227
  • github.com/quarkusio/quarkus/security/advisories/GHSA-9623-mj7j-p9v4
  • nvd.nist.gov/vuln/detail/CVE-2025-49574

Code Behaviors & Features

Detect and mitigate CVE-2025-49574 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.16.0.CR1 up to 3.20.1, all versions starting from 3.21.0.CR1 before 3.24.0, all versions up to 3.15.5

Fixed versions

  • 3.24.0

Solution

Upgrade to version 3.24.0 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

maven/io.quarkus/quarkus-vertx/CVE-2025-49574.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:10 +0000.