Algorithmic Complexity Affecting knot-resolver package, versions <5.5.3-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.99% (82nd 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-ECHOLATEST-KNOTRESOLVER-18291507
  • published24 Jul 2026
  • 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 Echo:latest knot-resolver to version 5.5.3-1 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 Echo. See How to fix? for Echo:latest 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