Vulnerabilities in pkg:maven/io.quarkus/quarkus-kubernetes-deployment

PACKAGE
Advisory Identifier: GHSA-7g97-7r3c-5cc6
Advisory Summary

CVE-2024-1979 is a LOW (CVSS 3.5) security vulnerability vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Quarkus kubernetes deployment libraries in the Maven ecosystem. The issue involves in quarkus, git credentials could be inadvertently published. Remediation is available by upgrading affected packages to version 3.7.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.quarkus/quarkus-kubernetes-deployment

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-7g97-7r3c-5cc6 CVE-2024-1979 LOW In Quarkus, git credentials could be inadvertently published

CVE-2024-1979 at a Glance

CVE Identifier CVE-2024-1979
GHSA Identifier GHSA-7g97-7r3c-5cc6
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Quarkus kubernetes deployment
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 3.5

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:C/C:L/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 Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-1979

To remediate this vulnerability, upgrade all affected Quarkus kubernetes deployment 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-kubernetes-deployment fixed: 3.7.3
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-kubernetes-deployment</artifactId>
    <version>3.7.3</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-2024-1979, 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 kubernetes deployment in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.3), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Quarkus kubernetes deployment, 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. In certain conditions related to the CI process, git credentials could be inadvertently published, which could put the git repository at risk.

CVE-2024-1979 Affected Quarkus kubernetes deployment Versions

1 component(s)
Fixed Versions:
3.7.3
Product / Package Ecosystem Affected Versions Fixed Version
io.quarkus:quarkus-kubernetes-deployment
Maven
< 3.7.3
3.7.3

References

Frequently Asked Questions

What is CVE-2024-1979?
CVE-2024-1979 is a security vulnerability in Quarkus kubernetes deployment involving In Quarkus, git credentials could be inadvertently published under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Quarkus kubernetes deployment versions are affected?
Affected versions include releases prior to 3.7.3 across affected packages: io.quarkus:quarkus-kubernetes-deployment.
What version fixes CVE-2024-1979?
Upgrading to 3.7.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quarkus-kubernetes-deployment affected?
Yes, io.quarkus:quarkus-kubernetes-deployment is affected in releases prior to 3.7.3. Upgrade your dependency to 3.7.3 or later.
What is the CVSS score of CVE-2024-1979?
CVE-2024-1979 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2024-1979?
CVE-2024-1979 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2024-1979?
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-7g97-7r3c-5cc6",
  "modified" : "2024-04-03T15:30:40Z",
  "published" : "2024-03-13T12:31:06Z",
  "aliases" : [ "CVE-2024-1979" ],
  "summary" : "In Quarkus, git credentials could be inadvertently published",
  "details" : "A vulnerability was found in Quarkus. In certain conditions related to the CI process, git credentials could be inadvertently published, which could put the git repository at risk.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-kubernetes-deployment"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.7.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1979"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/issues/38055"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/3a3b0d739222a2e476e085a955cfa090739f5924"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/5bc05ee35365a905f0e9e37f248c38688a81caaf"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:1662"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-1979"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2266690"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/quarkusio/quarkus"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-13T18:10:58Z",
    "nvd_published_at" : "2024-03-13T10:15:08Z"
  }
}