CVE-2025-23020: Kwik Kwik Hash Collision Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-9f57-9rhg-4hvm
CVSS 5.3
CWE-407
Published
Advisory Summary

CVE-2025-23020 is a MODERATE (CVSS 5.3) kwik hash collision vulnerability vulnerability (CWE-407: Inefficient Algorithmic Complexity) affecting Kwik libraries in the Maven ecosystem. The issue involves kwik hash collision vulnerability. Remediation is available by upgrading affected packages to version 0.10.1.

CVE-2025-23020 at a Glance

CVE Identifier CVE-2025-23020
GHSA Identifier GHSA-9f57-9rhg-4hvm
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-407: Inefficient Algorithmic Complexity
Affected Product Kwik
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

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 Low (A:L)

How to Fix CVE-2025-23020

To remediate this vulnerability, upgrade all affected Kwik dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tech.kwik:kwik fixed: 0.10.1
<dependency>
    <groupId>tech.kwik</groupId>
    <artifactId>kwik</artifactId>
    <version>0.10.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=tech.kwik

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-23020, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=tech.kwik

Analyze the terminal output to locate any version of Kwik in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=tech.kwik command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-407: Inefficient Algorithmic Complexity, where an algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. In Kwik, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in Kwik before 0.10.1. A hash collision vulnerability (in the hash table used to manage connections) allows remote attackers to cause a considerable CPU load on the server (a Hash DoS attack) by initiating connections with colliding Source Connection IDs (SCIDs).

CVE-2025-23020 Affected Kwik Versions

1 component(s)
Fixed Versions:
0.10.1
Product / Package Ecosystem Affected Versions Fixed Version
tech.kwik:kwik
Maven
< 0.10.1
0.10.1

References

Frequently Asked Questions

What is CVE-2025-23020?
CVE-2025-23020 is a security vulnerability in Kwik involving Kwik hash collision vulnerability under CWE-407: Inefficient Algorithmic Complexity.
Which Kwik versions are affected?
Affected versions include releases prior to 0.10.1 across affected packages: tech.kwik:kwik.
What version fixes CVE-2025-23020?
Upgrading to 0.10.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is kwik affected?
Yes, tech.kwik:kwik is affected in releases prior to 0.10.1. Upgrade your dependency to 0.10.1 or later.
What is the CVSS score of CVE-2025-23020?
CVE-2025-23020 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2025-23020?
CVE-2025-23020 is classified under CWE-407: Inefficient Algorithmic Complexity (An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.).
How can I check Maven dependencies for CVE-2025-23020?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=tech.kwik'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9f57-9rhg-4hvm",
  "modified" : "2025-02-20T20:18:50Z",
  "published" : "2025-02-20T03:32:03Z",
  "aliases" : [ "CVE-2025-23020" ],
  "summary" : "Kwik hash collision vulnerability",
  "details" : "An issue was discovered in Kwik before 0.10.1. A hash collision vulnerability (in the hash table used to manage connections) allows remote attackers to cause a considerable CPU load on the server (a Hash DoS attack) by initiating connections with colliding Source Connection IDs (SCIDs).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "tech.kwik:kwik"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.10.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-23020"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ptrd/kwik/commit/b0733d72bad76bc5d8df2f4a7792ebb2539ebdc8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ncc-pbottine/QUIC-Hash-Dos-Advisory"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ptrd/kwik"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ptrd/kwik/releases/tag/v0.10.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-407" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-20T20:18:50Z",
    "nvd_published_at" : "2025-02-20T03:15:12Z"
  }
}