CVE-2021-4248 — Vulnerability in DNS — CVE Details
DNS NuGet package uses insufficiently random values
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.83%). Schedule for your next planned update.
Does your project use an affected DNS version?
Paste your packages.lock.json to check it for CVE-2021-4248 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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 can 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.
Advisory Timeline
- First published December 18, 2022 (1439 days ago).
- Last revised November 8, 2023 — 325 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package DNS --version 7.0.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| DNS NuGet · Affected: 1.0.0, 1.0.1, 1.2.0, 1.2.1 (+12 more) | 7.0.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-330Use of Insufficiently Random ValuesMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2021-4248?
- DNS NuGet package uses insufficiently random values. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2021-4248?
- CVE-2021-4248 affects DNS. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-4248 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 54.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-63346CRITICAL
Refitter allows code execution through unescaped OpenAPI header parameter names
- CVE-2026-63344CRITICAL
Refitter allows arbitrary code execution through unescaped OpenAPI content-type values