Known exploited vulnerability

CVE-2023-46604

criticalCVSS 3.1 9.8In CISA KEVRansomwareEPSS 100%Published · Apache Software Foundation

The short answer

CVE-2023-46604 affects Apache Software Foundation Apache ActiveMQ and is rated critical (CVSS 9.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2023-11-02: attackers are using it, so patch it first. Fixed versions are published for activemq-client (5.15.16, 5.16.7, 5.17.6) and activemq-openwire-legacy (5.15.16, 5.16.7, 5.17.6).

What it is

The Java OpenWire protocol marshaller is vulnerable to Remote Code Execution. This vulnerability may allow a remote attacker with network access to either a Java-based OpenWire broker or client to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause either the client or the broker (respectively) to instantiate any class on the classpath. Users are recommended to upgrade both brokers and clients to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3 which fixes this issue.

Weakness: CWE-502.

Severity

9.8 critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Yes, since Nov 2, 2023

Federal due date Nov 23, 2023

EPSS, next 30 days

100%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

What CISA says to do

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
org.apache.activemq:activemq-clientMaven5.15.16, 5.16.7, 5.17.6, 5.18.3GHSA-crg9-44h2-xw35
org.apache.activemq:activemq-openwire-legacyMaven5.15.16, 5.16.7, 5.17.6, 5.18.3GHSA-crg9-44h2-xw35

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2023-46604 being exploited?

Yes. CISA added CVE-2023-46604 to its Known Exploited Vulnerabilities catalog on 2023-11-02, with a federal remediation due date of 2023-11-23. CISA lists it as used in ransomware campaigns.

How do I fix CVE-2023-46604?

Upgrade to a fixed version: org.apache.activemq:activemq-client (Maven) 5.15.16 or 5.16.7 or 5.17.6 or 5.18.3; org.apache.activemq:activemq-openwire-legacy (Maven) 5.15.16 or 5.16.7 or 5.17.6 or 5.18.3. CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.