Resource exhaustion in Apache Systemds
CVE-2022-26477
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.023 · 83.5th percentile
- Published
- 2022-06-27
The Security Team noticed that the termination condition of the for loop in the readExternal method is a controllable variable, which, if tampered with, may lead to CPU exhaustion. As a fix, we added an upper bound and termination condition in the read and write logic. We classify it as a "low-priority but useful improvement". SystemDS is a distributed system and needs to serialize/deserialize data but in many code paths (e.g., on Spark broadcast/shuffle or writing to sequence files) the byte stream is anyway protected by additional CRC fingerprints. In this particular case though, the number of decoders is upper-bounded by twice the number of columns, which means an attacker would need to modify two entries in the byte stream in a consistent manner. By adding these checks robustness was strictly improved with almost zero overhead. These code changes are available in versions higher than 2.2.1.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.023, 83.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Systemds
- Apache Software Foundation Systemds — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (4ra1n/4ra1n, ARPSyndicate/cvemon, yycunhua/4ra1n). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread/r4x2d2r6d4zykdrrx6s2l4qbxgzws0z3 (Mailing List, Vendor Advisory)
- security.netapp.com/advisory/ntap-20220812-0003/ (Third Party Advisory)