CVE-2022-2835 coreDNS vulnerable to Improper Restriction of Communication Channel to Intended Endpoints

Medium 4.4 Published Updated

Attackers can reroute internal service calls via FQDN manipulation, potentially accessing internal resources or bypassing network controls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-2835?

CVE-2022-2835 is a medium-severity server-side request forgery vulnerability in coreDNS, published on 3 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in coreDNS. This flaw allows a malicious user to reroute internal calls to some internal services that were accessed by the FQDN in a format of <service>.<namespace>.svc.

Weakness: CWE-923

Which versions are affected by CVE-2022-2835?

2 open source packages ship an affected version, including github.com/coredns/coredns. It affects 1 product.

PackageAffectedFixed in
github.com/coredns/coredns GoAll versions to 1.9.3None
github.com/coredns/coredns GoAll versions to 1.9.3None

Products include Coredns.io Coredns.

How do I fix CVE-2022-2835?

No fix has been published for CVE-2022-2835 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2022-2835 being exploited?

There is no known exploitation of CVE-2022-2835 in the wild and no public exploit code.

Sources

Also known as GHSA-ch7v-37xg-75ph.

Is CVE-2022-2835 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free