Vulnerabilities in pkg:maven/io.quarkiverse.cxf/quarkus-cxf

PACKAGE
Advisory Identifier: GHSA-jqh2-ch7p-xwxh
Advisory Summary

CVE-2024-9621 is a MODERATE (CVSS 5.3) quarkus cxf logs passwords and vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Quarkus cxf libraries in the Maven ecosystem. The issue involves quarkus cxf logs passwords and other secrets. Remediation is available by upgrading affected packages to version 3.15.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.quarkiverse.cxf/quarkus-cxf

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.quarkiverse.cxf/quarkus-cxf. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jqh2-ch7p-xwxh CVE-2024-9621 MODERATE Quarkus CXF logs passwords and other secrets

CVE-2024-9621 at a Glance

CVE Identifier CVE-2024-9621
GHSA Identifier GHSA-jqh2-ch7p-xwxh
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Quarkus cxf
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2024-9621

To remediate this vulnerability, upgrade all affected Quarkus cxf 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.quarkiverse.cxf:quarkus-cxf fixed: 3.15.2
<dependency>
    <groupId>io.quarkiverse.cxf</groupId>
    <artifactId>quarkus-cxf</artifactId>
    <version>3.15.2</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.quarkiverse.cxf

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=io.quarkiverse.cxf

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

Note: The mvn dependency:tree -Dincludes=io.quarkiverse.cxf 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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Quarkus cxf, 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 vulnerability was found in Quarkus CXF. Passwords and other secrets may appear in the application log in spite of the user configuring them to be hidden. This issue requires some special configuration to be vulnerable, such as SOAP logging enabled, application set client, and endpoint logging properties, and the attacker must have access to the application log.

CVE-2024-9621 Affected Quarkus cxf Versions

1 component(s)
Fixed Versions:
3.15.2
Product / Package Ecosystem Affected Versions Fixed Version
io.quarkiverse.cxf:quarkus-cxf
Maven
< 3.15.2
3.15.2

References

Frequently Asked Questions

What is CVE-2024-9621?
CVE-2024-9621 is a security vulnerability in Quarkus cxf involving Quarkus CXF logs passwords and other secrets under CWE-532: Insertion of Sensitive Information into Log File.
Which Quarkus cxf versions are affected?
Affected versions include releases prior to 3.15.2 across affected packages: io.quarkiverse.cxf:quarkus-cxf.
What version fixes CVE-2024-9621?
Upgrading to 3.15.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quarkus-cxf affected?
Yes, io.quarkiverse.cxf:quarkus-cxf is affected in releases prior to 3.15.2. Upgrade your dependency to 3.15.2 or later.
What is the CVSS score of CVE-2024-9621?
CVE-2024-9621 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2024-9621?
CVE-2024-9621 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Maven dependencies for CVE-2024-9621?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.quarkiverse.cxf'. 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-jqh2-ch7p-xwxh",
  "modified" : "2024-12-06T12:30:47Z",
  "published" : "2024-10-08T18:33:14Z",
  "aliases" : [ "CVE-2024-9621" ],
  "summary" : "Quarkus CXF logs passwords and other secrets",
  "details" : "A vulnerability was found in Quarkus CXF. Passwords and other secrets may appear in the  application log in spite of the user configuring them to be hidden. This issue requires some special configuration to be vulnerable, such as SOAP logging enabled, application set client, and endpoint logging properties, and the attacker must have access to the application log.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkiverse.cxf:quarkus-cxf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.15.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9621"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkiverse/quarkus-cxf/issues/1533"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkiverse/quarkus-cxf/commit/8ed72cab8db8e5659e294b05529d2b45557859bd"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:10035"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-9621"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2317130"
  }, {
    "type" : "WEB",
    "url" : "https://docs.quarkiverse.io/quarkus-cxf/dev/release-notes/3.15.2.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/quarkiverse/quarkus-cxf"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-08T22:23:11Z",
    "nvd_published_at" : "2024-10-08T17:15:57Z"
  }
}