Improper Restriction of Communication Channel to Intended Endpoints Affecting github.com/coredns/coredns/core package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (16th 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-GOLANG-GITHUBCOMCOREDNSCOREDNSCORE-5935678
  • published6 Oct 2023
  • disclosed5 Oct 2023
  • creditJon Weiser

Introduced: 5 Oct 2023

CVE-2022-2835  (opens in a new tab)
CWE-923  (opens in a new tab)

How to fix?

There is no fixed version for github.com/coredns/coredns/core.

Overview

Affected versions of this package are vulnerable to Improper Restriction of Communication Channel to Intended Endpoints due to allowing a malicious user to reroute internal calls to some internal services that were accessed by the FQDN in a format of <service>.<namespace>.svc.

Workaround

It is recommended to add the svc namespace to the DNS operator to prevent a low-privileged user from creating it. Alternatively, add a default admission controller to prevent this namespace from being created by a non-privileged user.

Note:

According to the maintainers, CVE-2022-2835 is not to be considered an issue within the coredns library.

CVSS Scores

version 3.1