Stackurity Start free trial

CVEs / CVE-2023-46604

CVE-2023-46604: Apache ActiveMQ Deserialization of Untrusted Data Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2023-46604

Summary

Apache ActiveMQ contains a deserialization of untrusted data vulnerability that may allow a remote attacker with network access to a broker to run shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath.

CISA, Known Exploited Vulnerabilities catalog

Description

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.

The CVE record, via NVD · published 27 Oct 2023 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache ActiveMQfrom 5.18.0, before 5.18.35.18.3
Apache Software Foundation Apache ActiveMQfrom 5.17.0, before 5.17.65.17.6
Apache Software Foundation Apache ActiveMQfrom 5.16.0, before 5.16.75.16.7
Apache Software Foundation Apache ActiveMQbefore 5.15.165.15.16
Apache Software Foundation Apache ActiveMQ Legacy OpenWire Modulefrom 5.18.0, before 5.18.35.18.3
Apache Software Foundation Apache ActiveMQ Legacy OpenWire Modulefrom 5.17.0, before 5.17.65.17.6
Apache Software Foundation Apache ActiveMQ Legacy OpenWire Modulefrom 5.16.0, before 5.16.75.16.7
Apache Software Foundation Apache ActiveMQ Legacy OpenWire Modulefrom 5.8.0, before 5.15.165.15.16
As stated by OSV
ProductAffectedFixed in
org.apache.activemq:activemq-client (Maven)before 5.15.165.15.16
org.apache.activemq:activemq-client (Maven)from 5.16.0, before 5.16.75.16.7
org.apache.activemq:activemq-client (Maven)from 5.17.0, before 5.17.65.17.6
org.apache.activemq:activemq-client (Maven)from 5.18.0, before 5.18.35.18.3
org.apache.activemq:activemq-openwire-legacy (Maven)from 5.8.0, before 5.15.165.15.16
org.apache.activemq:activemq-openwire-legacy (Maven)from 5.16.0, before 5.16.75.16.7
org.apache.activemq:activemq-openwire-legacy (Maven)from 5.17.0, before 5.17.65.17.6
org.apache.activemq:activemq-openwire-legacy (Maven)from 5.18.0, before 5.18.35.18.3

Package versions from GHSA-crg9-44h2-xw35.

Exploitation

In CISA KEV since2 Nov 2023
Due date for US federal agencies23 Nov 2023
Used in ransomware campaignsKnown
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-502

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.