CVE-2025-4057: Github.com/arkmq org/activemq artemis operator ActiveMQ Artemis AMQ Broker Operator Vulnerability

MODERATE
Advisory Identifier: GHSA-q5q7-8x6x-hcg2
CVSS 5.5
CWE-1391
Published
Advisory Summary

CVE-2025-4057 is a MODERATE (CVSS 5.5) activemq artemis amq broker operator vulnerability (CWE-1391: Use of Weak Credentials) affecting Github.com/arkmq org/activemq artemis operator libraries in the Go ecosystem. The issue involves activemq artemis amq broker operator starting credentials reuse. Remediation is available in the latest vendor maintenance releases.

CVE-2025-4057 at a Glance

CVE Identifier CVE-2025-4057
GHSA Identifier GHSA-q5q7-8x6x-hcg2
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-1391: Use of Weak Credentials
Affected Product Github.com/arkmq org/activemq artemis operator
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
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-2025-4057

To remediate this vulnerability, upgrade all affected Github.com/arkmq org/activemq artemis operator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/arkmq-org/activemq-artemis-operator fixed: Latest secure release
Upgrade github.com/arkmq-org/activemq-artemis-operator to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/arkmq-org/activemq-artemis-operator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-4057, inspect your project dependencies for Github.com/arkmq org/activemq artemis operator:

inspect dependencies for github.com/arkmq-org/activemq-artemis-operator

Analyze the terminal output to locate any version of Github.com/arkmq org/activemq artemis operator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1391: Use of Weak Credentials, where the product uses weak credentials (such as a default key or hard-coded password) that can be calculated, derived, reused, or guessed by an attacker. In Github.com/arkmq org/activemq artemis operator, 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 ActiveMQ Artemis. The password generated by activemq-artemis-operator does not regenerate between separated CR dependencies.

CVE-2025-4057 Affected Github.com/arkmq org/activemq artemis operator Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/arkmq-org/activemq-artemis-operator
Go
≤ 0.0.0-20250418141202-b262048e6a75

References

Frequently Asked Questions

What is CVE-2025-4057?
CVE-2025-4057 is a security vulnerability in Github.com/arkmq org/activemq artemis operator involving ActiveMQ Artemis AMQ Broker Operator Starting Credentials Reuse under CWE-1391: Use of Weak Credentials.
Which Github.com/arkmq org/activemq artemis operator versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/arkmq-org/activemq-artemis-operator.
What version fixes CVE-2025-4057?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/arkmq-org/activemq-artemis-operator affected?
Yes, github.com/arkmq-org/activemq-artemis-operator is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-4057?
CVE-2025-4057 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-4057?
CVE-2025-4057 is classified under CWE-1391: Use of Weak Credentials (The product uses weak credentials (such as a default key or hard-coded password) that can be calculated, derived, reused, or guessed by an attacker.).
How can I check Go dependencies for CVE-2025-4057?
Run the dependency tree command: 'inspect dependencies for github.com/arkmq-org/activemq-artemis-operator'. 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-q5q7-8x6x-hcg2",
  "modified" : "2025-07-31T21:31:32Z",
  "published" : "2025-05-26T12:30:30Z",
  "aliases" : [ "CVE-2025-4057" ],
  "summary" : "ActiveMQ Artemis AMQ Broker Operator Starting Credentials Reuse",
  "details" : "A flaw was found in ActiveMQ Artemis. The password generated by activemq-artemis-operator does not regenerate between separated CR dependencies.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/arkmq-org/activemq-artemis-operator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.0-20250418141202-b262048e6a75"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-4057"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/arkmq-org/activemq-artemis-operator/issues/1130"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/arkmq-org/activemq-artemis-operator/commit/d3482fab6d0060794226c9e5a6fa67d209abc35a"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:12355"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:12473"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:8147"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-4057"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2362827"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/arkmq-org/activemq-artemis-operator"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1391" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-27T22:50:22Z",
    "nvd_published_at" : "2025-05-26T10:15:21Z"
  }
}