CVE-2019-10174: Infinispan - Use of Externally-Controlled Input to Select Classes or Code

Summary

24/05/2022
Yes i
High
7.5

CVE-2019-10174: Use of Externally-Controlled Input to Select Classes or Code in Infinispan. Affects org.infinispan:infinispan-core across 2 version ranges.

< 8.2.12.Final >= 9.0.0.Final, < 9.4.17.Final

Fixed in 8.2.12.Final or 9.4.17.Final, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Infinispan is an open-source data grid platform that provides distributed caching and in-memory data storage capabilities. It is widely used in Java applications to improve performance and scalability. Infinispan allows applications to store and retrieve data in a distributed manner, making it suitable for use cases such as caching, clustering, and data replication. However, a vulnerability has been discovered in Infinispan that allows an attacker to invoke private methods in any class with Infinispan's privileges, potentially introducing malicious behavior into the application.

Vulnerability Detail

The vulnerability (CVE-2019-10174) resides in the ReflectionUtil class of Infinispan, specifically in the invokeAccessibly method. This method allows any application class to invoke private methods in any class with Infinispan's privileges. By using reflection, an attacker can exploit this vulnerability to introduce new, malicious behavior into the application. This can lead to various security risks, including unauthorized access, data manipulation, and remote code execution.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 8.2.12.Final 8.2.12.Final
  • >= 9.0.0.Final, < 9.4.17.Final 9.4.17.Final

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is strongly advised to upgrade to the fixed versions mentioned above.

Conclusion

Infinispan, an open-source data grid platform widely used in Java applications, is vulnerable to a critical security flaw (CVE-2019-10174). This vulnerability allows an attacker to invoke private methods in any class with Infinispan's privileges, potentially leading to unauthorized access, data manipulation, and remote code execution. To mitigate this risk, it is crucial to upgrade to the fixed versions of Infinispan mentioned above. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.infinispan:infinispan-core →

Share this vulnerability

FAQ

Infinispan is an open-source data grid platform that provides distributed caching and in-memory data storage capabilities. It is widely used in Java applications to improve performance and scalability.

This vulnerability allows an attacker to invoke private methods in any class with Infinispan's privileges, potentially introducing malicious behavior into the application. This can lead to unauthorized access, data manipulation, and remote code execution.

To fix this vulnerability, it is recommended to upgrade to a fixed version of Infinispan. For versions 8.2.x, upgrade to version 8.2.12.Final or later. For versions 9.0.x to 9.4.x, upgrade to version 9.4.17.Final or later.

There is no known workaround for this vulnerability. It is strongly advised to upgrade to the fixed versions mentioned above.

You can find more information about this vulnerability in the GitHub Advisory Database: [link to the vulnerability details]

Related vulnerabilities

Recent vulnerabilities recorded for org.infinispan:infinispan-core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 8.2.12.Final 8.2.12.Final
  • >= 9.0.0.Final, < 9.4.17.Final 9.4.17.Final

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback