CVE-2021-4248 kapetan dns Request.cs entropy

Medium 5.6 Published Updated

Insufficient entropy in the PRNG allows remote attackers to predict DNS request identifiers, potentially enabling cache poisoning or spoofing attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4248?

CVE-2021-4248 is a medium-severity vulnerability in kapetan dns, published on 18 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in kapetan dns up to 6.1.0. It has been rated as problematic. Affected by this issue is some unknown functionality of the file DNS/Protocol/Request.cs. The manipulation leads to insufficient entropy in prng. The attack may be launched remotely. Upgrading to version 7.0.0 is able to address this issue. The name of the patch is cf7105aa2aae90d6656088fe5a8ee1d5730773b6. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216188.

Weakness: CWE-330

Which versions are affected by CVE-2021-4248?

2 open source packages ship an affected version, including DNS. It affects 1 product.

PackageAffectedFixed in
DNS NuGetAll versions7.0.0
DNS NuGetAll versions7.0.0

Products include Kapetan Dns Project Kapetan Dns.

How do I fix CVE-2021-4248?

Upgrade DNS to 7.0.0 or later.

Is CVE-2021-4248 being exploited?

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

Sources

Also known as GHSA-g3wc-xv93-445q.

Is CVE-2021-4248 in your software?

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

Check your SBOMs for free