CVE-2023-46604: The Java OpenWire protocol marshaller is vulnerable to Remote Code Execution.

Critical CVSS 9.8

CVE id
CVE-2023-46604
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Apache ActiveMQ
Runtimes and servers
< 5.15.16
>= 5.16.0, < 5.16.7
>= 5.17.0, < 5.17.6
>= 5.18.0, < 5.18.3
5.15.16, 5.16.7, 5.17.6, 5.18.3

How to fix it

Upgrade Apache ActiveMQ to the fixed release of the line you run: 5.15.16, 5.16.7, 5.17.6, 5.18.3.

  • Upgrade ActiveMQ Classic (the apache/activemq-classic image tag or the broker's distribution) to the patched release.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

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.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.