CVE-2025-23020: Kwik hash collision vulnerability
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.16658%
CWE
Published
2/20/2025
Updated
2/20/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
tech.kwik:kwik | maven | < 0.10.1 | 0.10.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from using Arrays.hashCode() for ConnectionSource keys in the connection registry's hash table. The patch replaces this with a cryptographically secure SipHash implementation. In runtime profiling during exploitation:
- ConnectionSource.hashCode() would show high CPU usage due to hash collisions
- ServerConnectionRegistry methods like registerConnection/isExistingConnection would appear in stack traces as they perform hash table operations
- The original Arrays.hashCode-based implementation would dominate profiling samples during a HashDoS attack due to collision resolution overhead