Algorithmic Complexity Affecting knot-resolver package, versions <1.0.0~beta3-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.61% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-KNOTRESOLVER-3033135
  • published1 Jun 2025
  • disclosed23 Sept 2022

Introduced: 23 Sep 2022

CVE-2022-40188  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 knot-resolver to version 1.0.0beta3-1ubuntu0.1esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream knot-resolver package and not the knot-resolver package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

Knot Resolver before 5.5.3 allows remote attackers to cause a denial of service (CPU consumption) because of algorithmic complexity. During an attack, an authoritative server must return large NS sets or address sets.

CVSS Base Scores

version 3.1