Vulnerabilities in pkg:maven/org.apache.ozone/ozone

PACKAGE
Advisory Identifier: GHSA-rcq8-9q3j-98mw
Advisory Summary

CVE-2024-45106 is a HIGH (CVSS 8.1) improper authentication when generating s3 vulnerability (CWE-287: Improper Authentication) affecting Apache Ozone libraries in the Maven ecosystem. The issue involves improper authentication when generating s3 secrets. Remediation is available by upgrading affected packages to version 1.4.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.ozone/ozone

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.ozone/ozone. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rcq8-9q3j-98mw CVE-2024-45106 HIGH Apache Ozone: Improper authentication when generating S3 secrets

CVE-2024-45106 at a Glance

CVE Identifier CVE-2024-45106
GHSA Identifier GHSA-rcq8-9q3j-98mw
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-287: Improper Authentication
Affected Product Apache Ozone
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

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:N).

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 None (A:N)

How to Fix CVE-2024-45106

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

org.apache.ozone:ozone fixed: 1.4.1
<dependency>
    <groupId>org.apache.ozone</groupId>
    <artifactId>ozone</artifactId>
    <version>1.4.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=org.apache.ozone

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.ozone

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

Note: The mvn dependency:tree -Dincludes=org.apache.ozone 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Apache Ozone, 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

Improper authentication of an HTTP endpoint in the S3 Gateway of Apache Ozone 1.4.0 allows any authenticated Kerberos user to revoke and regenerate the S3 secrets of any other user. This is only possible if: * ozone.s3g.secret.http.enabled is set to true. The default value of this configuration is false. * The user configured in ozone.s3g.kerberos.principal is also configured in ozone.s3.administrators or ozone.administrators. Users are recommended to upgrade to Apache Ozone version 1.4.1 which disables the affected endpoint.

CVE-2024-45106 Affected Apache Ozone Versions

1 component(s)
Fixed Versions:
1.4.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.ozone:ozone
Maven
≥ 1.4.0
< 1.4.1
All 1 versions
1.4.0
1.4.1

References

Frequently Asked Questions

What is CVE-2024-45106?
CVE-2024-45106 is a security vulnerability in Apache Ozone involving Improper authentication when generating S3 secrets under CWE-287: Improper Authentication.
Which Apache Ozone versions are affected?
Affected versions include releases prior to 1.4.1 across affected packages: org.apache.ozone:ozone.
What version fixes CVE-2024-45106?
Upgrading to 1.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ozone affected?
Yes, org.apache.ozone:ozone is affected in releases prior to 1.4.1. Upgrade your dependency to 1.4.1 or later.
What is the CVSS score of CVE-2024-45106?
CVE-2024-45106 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2024-45106?
CVE-2024-45106 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2024-45106?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.ozone'. 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-rcq8-9q3j-98mw",
  "modified" : "2024-12-03T19:09:07Z",
  "published" : "2024-12-03T12:31:11Z",
  "aliases" : [ "CVE-2024-45106" ],
  "summary" : "Apache Ozone: Improper authentication when generating S3 secrets",
  "details" : "Improper authentication of an HTTP endpoint in the S3 Gateway of Apache Ozone 1.4.0 allows any authenticated Kerberos user to revoke and regenerate the S3 secrets of any other user. This is only possible if:\n  *  ozone.s3g.secret.http.enabled is set to true. The default value of this configuration is false.\n  *  The user configured in ozone.s3g.kerberos.principal is also configured in ozone.s3.administrators or ozone.administrators.\n\n\nUsers are recommended to upgrade to Apache Ozone version 1.4.1 which disables the affected endpoint.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.ozone:ozone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.4.0"
      }, {
        "fixed" : "1.4.1"
      } ]
    } ],
    "versions" : [ "1.4.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45106"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/ozone/pull/5233"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/ozone"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/rylnxwttp004kvotpk9j158vb238pfkm"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/12/02/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287", "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-03T19:09:07Z",
    "nvd_published_at" : "2024-12-03T10:15:05Z"
  }
}