{"id":"CVE-2023-50387","state":"PUBLISHED","title":"Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more D","description":"Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the \"KeyTrap\" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records.","publishedAt":"2024-02-14T00:00:00.000Z","updatedAt":"2025-11-04T18:20:34.949Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.athene-center.de/aktuelles/key-trap","https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/","https://kb.isc.org/docs/cve-2023-50387","https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2024-01.html","https://www.theregister.com/2024/02/13/dnssec_vulnerability_internet/","https://news.ycombinator.com/item?id=39367411","https://www.securityweek.com/keytrap-dns-attack-could-disable-large-parts-of-internet-researchers/","https://www.isc.org/blogs/2024-bind-security-release/","https://news.ycombinator.com/item?id=39372384","https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.1","https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.html","https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-50387","https://access.redhat.com/security/cve/CVE-2023-50387","https://bugzilla.suse.com/show_bug.cgi?id=1219823","https://www.athene-center.de/fileadmin/content/PDF/Technical_Report_KeyTrap.pdf","http://www.openwall.com/lists/oss-security/2024/02/16/2","http://www.openwall.com/lists/oss-security/2024/02/16/3","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVYA42BLXUCIDLD35YIJPJSHDIADNYMP/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/","https://lists.debian.org/debian-lts-announce/2024/02/msg00006.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEXGOYGW7DBS3N2QSSQONZ4ENIRQEAPG/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQESRWMJCF4JEYJEAKLRM6CT55GLJAB7/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FV5O347JTX7P5OZA6NGO4MKTXRXMKOZ/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IGSLGKUAQTW5JPPZCMF5YPEYALLRUZZ6/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/","https://security.netapp.com/advisory/ntap-20240307-0007/","https://lists.debian.org/debian-lts-announce/2024/05/msg00011.html","https://lists.debian.org/debian-lts-announce/2024/11/msg00035.html","https://lists.debian.org/debian-lts-announce/2024/09/msg00001.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/50xxx/CVE-2023-50387.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-50387","state":"PUBLISHED","datePublished":"2024-02-14T00:00:00.000Z","dateUpdated":"2025-11-04T18:20:34.949Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-12-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the \"KeyTrap\" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.athene-center.de/aktuelles/key-trap"},{"url":"https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/"},{"url":"https://kb.isc.org/docs/cve-2023-50387"},{"url":"https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2024-01.html"},{"url":"https://www.theregister.com/2024/02/13/dnssec_vulnerability_internet/"},{"url":"https://news.ycombinator.com/item?id=39367411"},{"url":"https://www.securityweek.com/keytrap-dns-attack-could-disable-large-parts-of-internet-researchers/"},{"url":"https://www.isc.org/blogs/2024-bind-security-release/"},{"url":"https://news.ycombinator.com/item?id=39372384"},{"url":"https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.1"},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.html"},{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-50387"},{"url":"https://access.redhat.com/security/cve/CVE-2023-50387"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1219823"},{"url":"https://www.athene-center.de/fileadmin/content/PDF/Technical_Report_KeyTrap.pdf"},{"url":"http://www.openwall.com/lists/oss-security/2024/02/16/2","name":"[oss-security] 20240216 Re: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/16/3","name":"[oss-security] 20240216 Re: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVYA42BLXUCIDLD35YIJPJSHDIADNYMP/","name":"FEDORA-2024-2e26eccfcb","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/","name":"FEDORA-2024-e24211eff0","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/","name":"FEDORA-2024-21310568fa","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/02/msg00006.html","name":"[debian-lts-announce] 20240221 [SECURITY] [DLA 3736-1] unbound security update","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEXGOYGW7DBS3N2QSSQONZ4ENIRQEAPG/","name":"FEDORA-2024-b0f9656a76","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQESRWMJCF4JEYJEAKLRM6CT55GLJAB7/","name":"FEDORA-2024-4e36df9dfd","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/","name":"FEDORA-2024-499b9be35f","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/","name":"FEDORA-2024-c36c448396","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FV5O347JTX7P5OZA6NGO4MKTXRXMKOZ/","name":"FEDORA-2024-c967c7d287","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IGSLGKUAQTW5JPPZCMF5YPEYALLRUZZ6/","name":"FEDORA-2024-e00eceb11c","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/","name":"FEDORA-2024-fae88b73eb","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0007/"},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00011.html","name":"[debian-lts-announce] 20240517 [SECURITY] [DLA 3816-1] bind9 security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-06-10T16:14:16.780Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.athene-center.de/aktuelles/key-trap","tags":["x_transferred"]},{"url":"https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/","tags":["x_transferred"]},{"url":"https://kb.isc.org/docs/cve-2023-50387","tags":["x_transferred"]},{"url":"https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2024-01.html","tags":["x_transferred"]},{"url":"https://www.theregister.com/2024/02/13/dnssec_vulnerability_internet/","tags":["x_transferred"]},{"url":"https://news.ycombinator.com/item?id=39367411","tags":["x_transferred"]},{"url":"https://www.securityweek.com/keytrap-dns-attack-could-disable-large-parts-of-internet-researchers/","tags":["x_transferred"]},{"url":"https://www.isc.org/blogs/2024-bind-security-release/","tags":["x_transferred"]},{"url":"https://news.ycombinator.com/item?id=39372384","tags":["x_transferred"]},{"url":"https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.1","tags":["x_transferred"]},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.html","tags":["x_transferred"]},{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-50387","tags":["x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-50387","tags":["x_transferred"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1219823","tags":["x_transferred"]},{"url":"https://www.athene-center.de/fileadmin/content/PDF/Technical_Report_KeyTrap.pdf","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/16/2","name":"[oss-security] 20240216 Re: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/16/3","name":"[oss-security] 20240216 Re: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities","tags":["mailing-list","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVYA42BLXUCIDLD35YIJPJSHDIADNYMP/","name":"FEDORA-2024-2e26eccfcb","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/","name":"FEDORA-2024-e24211eff0","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/","name":"FEDORA-2024-21310568fa","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/02/msg00006.html","name":"[debian-lts-announce] 20240221 [SECURITY] [DLA 3736-1] unbound security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEXGOYGW7DBS3N2QSSQONZ4ENIRQEAPG/","name":"FEDORA-2024-b0f9656a76","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQESRWMJCF4JEYJEAKLRM6CT55GLJAB7/","name":"FEDORA-2024-4e36df9dfd","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/","name":"FEDORA-2024-499b9be35f","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/","name":"FEDORA-2024-c36c448396","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FV5O347JTX7P5OZA6NGO4MKTXRXMKOZ/","name":"FEDORA-2024-c967c7d287","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IGSLGKUAQTW5JPPZCMF5YPEYALLRUZZ6/","name":"FEDORA-2024-e00eceb11c","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/","name":"FEDORA-2024-fae88b73eb","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0007/","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00011.html","name":"[debian-lts-announce] 20240517 [SECURITY] [DLA 3816-1] bind9 security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00035.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00001.html"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T18:20:34.949Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-08T17:27:29.786375Z","id":"CVE-2023-50387","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","type":"CWE","lang":"en","description":"CWE-770 Allocation of Resources Without Limits or Throttling"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-12T15:02:17.822Z"}}]}}}