CVE-2018-1131 Deserialization of Untrusted Data in Infinispan

High 8.8 Published Updated

Authenticated users can achieve code execution by sending malicious objects to caches configured with specific transcoders in Infinispan.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1131?

CVE-2018-1131 is a high-severity unsafe deserialization vulnerability in Red Hat, Inc. infinispan, published on 15 May 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Infinispan permits improper deserialization of trusted data via XML and JSON transcoders under certain server configurations. A user with authenticated access to the server could send a malicious object to a cache configured to accept certain types of objects, achieving code execution and possible further attacks. Versions 9.0.3.Final, 9.1.7.Final, 8.2.10.Final, 9.2.2.Final, 9.3.0.Alpha1 are believed to be affected.

Weakness: CWE-502, CWE-349

Which versions are affected by CVE-2018-1131?

4 open source packages ship an affected version, including org.infinispan:infinispan-core. It affects 2 products.

PackageAffectedFixed in
org.infinispan:infinispan-core MavenAll versionsNone
org.infinispan:infinispan-core MavenAll versionsNone
org.infinispan:infinispan-core MavenFrom 9.3.0.Alpha19.3.1.Final
org.infinispan:infinispan-core MavenFrom 9.3.0.Alpha19.3.1.Final

Products include Infinispan Infinispan, Redhat Jboss Data Grid.

How do I fix CVE-2018-1131?

Upgrade org.infinispan:infinispan-core to 9.3.1.Final or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2018-1131 being exploited?

There is no known exploitation of CVE-2018-1131 in the wild and no public exploit code.

Sources

Also known as GHSA-qqfc-m9hc-pqv3.

Is CVE-2018-1131 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free