{"answers":{"affected":"3 open source packages ship an affected version, including github.com/arkmq-org/activemq-artemis-operator.","exploited":"There is no known exploitation of CVE-2025-4057 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-4057 is a medium-severity vulnerability in Red Hat AMQ Broker 7.13.0.OPR.1.GA, published on 26 May 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-4057 and fix it if it is affected.\n\nWhat it is: CVE-2025-4057 is a medium-severity vulnerability in Red Hat AMQ Broker 7.13.0.OPR.1.GA, published on 26 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-4057 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/arkmq-org/activemq-artemis-operator (Go): affected all versions; no fix listed\n- github.com/arkmq-org/activemq-artemis-operator (Go): affected all versions up to 0.0.0-20250418141202-b262048e6a75; no fix listed\n- github.com/arkmq-org/activemq-artemis-operator (Go): affected all versions up to 0.0.0-20250418141202-b262048e6a75; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-4057/ (Markdown: https://insights.sbomify.com/CVE-2025-4057/index.md)","id":"CVE-2025-4057","markdown":"https://insights.sbomify.com/CVE-2025-4057/index.md","name":"CVE-2025-4057","record":{"aliases":["GHSA-q5q7-8x6x-hcg2","GO-2025-3717"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ActiveMQ Artemis Operator","requires_auth":"low_privilege","summary":"The ActiveMQ Artemis operator reuses generated passwords across separate custom resources, allowing attackers to access multiple brokers with the same credentials.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-1391","name":"Use of Weak Credentials"}],"description":"A flaw was found in ActiveMQ Artemis. The password generated by activemq-artemis-operator does not regenerate between separated CR dependencies.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Activemq-artemis-operator: amq broker operator starting credentials reuse","id":"CVE-2025-4057","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"hardcoded_credentials","year":"2025"},"n_packages":3,"n_references":7,"next":{"headline":"Projectworlds Online Examination System Bloodgroop_process.php sql injection","id":"CVE-2025-4058"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/arkmq-org/activemq-artemis-operator","purl":"pkg:golang/github.com/arkmq-org/activemq-artemis-operator","source":"GO-2025-3717"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.0.0-20250418141202-b262048e6a75"],"package":"github.com/arkmq-org/activemq-artemis-operator","purl":null,"source":"GHSA-q5q7-8x6x-hcg2"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.0.0-20250418141202-b262048e6a75"],"package":"github.com/arkmq-org/activemq-artemis-operator","purl":"pkg:golang/github.com/arkmq-org/activemq-artemis-operator","source":"GHSA-q5q7-8x6x-hcg2"}],"prev":{"headline":"Glib: glib crash after long command line","id":"CVE-2025-4056"},"products":["AMQ Broker 7.13.0.OPR.1.GA","RHEL-8 based Middleware Containers","Red Hat AMQ Broker 7.12.5"],"published":"2025-05-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"The ActiveMQ Artemis operator reuses generated passwords across separate custom resources, allowing attackers to access multiple brokers with the same credentials.","url":"https://insights.sbomify.com/CVE-2025-4057/"}