CVE-2021-31917 in Infinispan-Server-Rest and 1 more product
A flaw was found in Red Hat DataGrid 8.x (8.0.0, 8.0.1, 8.1.0 and 8.1.1) and Infinispan (10.0.0 through 12.0.0). An attacker could bypass authentication on all REST endpoints when DIGEST is used as the authentication method. The highest threat from this vulnerability is to data confidentiality and integrity as well ...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Infinispan | Infinispan-Server-Rest | ≥ 10.0.0, < 11.0.12 ≥ 12.0.0, < 12.1.4 |
| Redhat | Data Grid | 8.0.0 8.0.1 8.1.0 8.1.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A flaw was found in Red Hat DataGrid 8.x (8.0.0, 8.0.1, 8.1.0 and 8.1.1) and Infinispan (10.0.0 through 12.0.0). An attacker could bypass authentication on all REST endpoints when DIGEST is used as the authentication method. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-31917 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-074622-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-09-21 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-287: Improper Authentication
Software does not prove or insufficiently proves that the user is who they claim to be.
Related attack patterns (CAPEC)
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287
CAPEC-633 Token Impersonation via CWE-287
CAPEC-650 Upload a Web Shell to a Web Server via CWE-287
CAPEC-194 Fake the Source of Data via CWE-287
CAPEC-593 Session Hijacking via CWE-287
Show all 10
CAPEC-22 Exploiting Trust in Client via CWE-287
CAPEC-94 Adversary in the Middle (AiTM) via CWE-287
CAPEC-114 Authentication Abuse via CWE-287
CAPEC-115 Authentication Bypass via CWE-287
CAPEC-151 Identity Spoofing via CWE-287
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A critical vulnerability in Red Hat DataGrid 8.x and Infinispan allows attackers to bypass authentication on REST endpoints when using DIGEST authentication, posing significant risks to data confidentiality, integrity, and system availability.", "attack_vector_detail": "The vulnerability arises from improper handling of DIGEST authentication, enabling unauthorized access to REST endpoints. Attackers can exploit this to perform actions without proper authentication, leading to potential data breaches and system compromise.", "affected_components": ["Red Hat DataGrid 8.0.0", "Red Hat DataGrid 8.0.1", "Red Hat DataGrid 8.1.0", "Red Hat DataGrid 8.1.1", "Infinispan 10.0.0", "Infinispan 10.0.1", "Infinispan 10.0.2", "Infinispan 10.0.3", "Infinispan 10.0.4", "Infinispan 10.1.0", "Infinispan 10.1.1", "Infinispan 10.
Vulnerability details: A flaw was found in Red Hat DataGrid 8.x (8.0.0, 8.0.1, 8.1.0 and 8.1.1) and Infinispan (10.0.0 through 12.0.0). An attacker could bypass authentication on all REST endpoints when DIGEST is used as the authentication method. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2021-31917?
{ "executive_summary": "A critical vulnerability in Red Hat DataGrid 8.x and Infinispan allows attackers to bypass authentication on REST endpoints when using DIGEST authentication, posing significant risks to data confidentiality, integrity, and system availability.", "attack_vector_detail": "The vulnerability arises from improper handling of DIGEST authentication, enabling unauthorized access to REST endpoints. Attackers can exploit this to perform actions without proper authentication, le
What is the CVSS score for CVE-2021-31917?
CVE-2021-31917 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.3%.
Is CVE-2021-31917 actively exploited?
No confirmed active exploitation of CVE-2021-31917 as of 2026-05-30.
How do I remediate CVE-2021-31917?
Priority: MEDIUM. Advisory: https://access.redhat.com/security/cve/cve-2021-31917 PSIRT: [email protected]
What systems are affected by CVE-2021-31917?
CVE-2021-31917 affects Infinispan Infinispan-Server-Rest; Redhat Data Grid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Infinispan","product":"Infinispan-Server-Rest","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.