CVE-2023-5236 Infinispan: circular reference on marshalling leads to dos
An authenticated attacker can cause a denial of service by inserting a malicious object with circular references into the Infinispan cache.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-5236?
CVE-2023-5236 is a medium-severity denial of service vulnerability in Red Hat Data Grid 8, published on 18 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A flaw was found in Infinispan, which does not detect circular object references when unmarshalling. An authenticated attacker with sufficient permissions could insert a maliciously constructed object into the cache and use it to cause out of memory errors and achieve a denial of service.
Which versions are affected by CVE-2023-5236?
2 open source packages ship an affected version, including org.infinispan.protostream:protostream. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
org.infinispan.protostream:protostream Maven | All versions | 4.6.2.Final |
org.infinispan.protostream:protostream Maven | All versions | 4.6.2.Final |
Products include Infinispan Infinispan, Redhat Data Grid, Redhat Jboss Data Grid.
How do I fix CVE-2023-5236?
Upgrade org.infinispan.protostream:protostream to 4.6.2.Final or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-5236 being exploited?
There is no known exploitation of CVE-2023-5236 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Data Grid 8
- CVE-2018-1131 Deserialization of Untrusted Data in Infinispan
- CVE-2017-15089 Deserialization of Untrusted Data in Infinispan
- CVE-2019-10174 Use of Externally-Controlled Input to Select Classes or Code in Infinispan
- CVE-2023-5384 Infinispan: credentials returned from configuration as clear text
- CVE-2023-3628 Infispan: rest bulk ops don't check permissions
Sources
Also known as GHSA-488m-w9fp-5mm2.