{"id":"CVE-2023-50387","published":"2024-02-14T00:00:00Z","modified":"2025-11-04T18:20:34Z","title":"Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-08T17:27:29.786375Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The DNSSEC validation logic in the DNS protocol, as specified in RFC 4033, 4034, 4035, 6840 and related RFCs, contains a flaw in how it handles zones carrying many DNSKEY and RRSIG records, because the specification implies evaluating every combination of those records. A remote attacker who can send crafted DNSSEC responses to a vulnerable resolver, with no authentication or user interaction required, can exhaust CPU resources and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:05Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.9999,"percentile":0.99985,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":6,"pulses":[{"name":"4 real? Tracking exploitation and patching of eMudhra’s weak keys","url":"https://otx.alienvault.com/pulse/6ae4da32f062c5c500026f53","created":"2026-10-30"},{"name":"Using AI to chart a course for our post-quantum migration","url":"https://otx.alienvault.com/pulse/6abbc3c7b31bdf397da3234e","created":"2026-09-29"},{"name":"1.1.1.1 now supports post-quantum DNSSEC, all 2,420 bytes of it","url":"https://otx.alienvault.com/pulse/6aa2b791d43d78eb7286f7a9","created":"2026-09-10"},{"name":"ACTUALIZACION | Importante: actualización de seguridad de dnsmasq","url":"https://otx.alienvault.com/pulse/666c722b6f2c198f9d87923e","created":"2024-06-14"},{"name":"ACTUALIZACION | Importante: actualización de seguridad de bind, bind-dyndb-ldap y dhcp","url":"https://otx.alienvault.com/pulse/66670872ee36177c1ca27238","created":"2024-06-10"},{"name":"ACTUALIZACION | Security Update Guide RSS feed  The Microsoft Security Response Center (MSRC)","url":"https://otx.alienvault.com/pulse/65ccf39352648e8458ed369d","created":"2024-02-14"}],"provenance":"machine"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://www.athene-center.de/aktuelles/key-trap","tags":[]},{"url":"https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/","tags":[]},{"url":"https://kb.isc.org/docs/cve-2023-50387","tags":[]},{"url":"https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2024-01.html","tags":[]},{"url":"https://www.theregister.com/2024/02/13/dnssec_vulnerability_internet/","tags":[]},{"url":"https://news.ycombinator.com/item?id=39367411","tags":[]},{"url":"https://www.securityweek.com/keytrap-dns-attack-could-disable-large-parts-of-internet-researchers/","tags":[]},{"url":"https://www.isc.org/blogs/2024-bind-security-release/","tags":[]},{"url":"https://news.ycombinator.com/item?id=39372384","tags":[]},{"url":"https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.1","tags":[]},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.html","tags":[]},{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-50387","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2023-50387","tags":[]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1219823","tags":[]},{"url":"https://www.athene-center.de/fileadmin/content/PDF/Technical_Report_KeyTrap.pdf","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/16/2","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2024/02/16/3","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVYA42BLXUCIDLD35YIJPJSHDIADNYMP/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/02/msg00006.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEXGOYGW7DBS3N2QSSQONZ4ENIRQEAPG/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQESRWMJCF4JEYJEAKLRM6CT55GLJAB7/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FV5O347JTX7P5OZA6NGO4MKTXRXMKOZ/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IGSLGKUAQTW5JPPZCMF5YPEYALLRUZZ6/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0007/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00011.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00035.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00001.html","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2023-55182","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-55182","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":1,"earliest":"2024-02-18","earliestUrl":"https://github.com/knqyf263/CVE-2023-50387","repos":[{"name":"knqyf263/CVE-2023-50387","url":"https://github.com/knqyf263/CVE-2023-50387","stars":44,"created":"2024-02-18"},{"name":"Meirelez/SSR-DNSSEC","url":"https://github.com/Meirelez/SSR-DNSSEC","stars":0,"created":"2024-05-23"}]},"first":{"date":"2024-02-18","source":"PoC-in-GitHub","url":"https://github.com/knqyf263/CVE-2023-50387"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-02-14","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-50387","provenance":"source"},{"date":"2024-02-18","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/knqyf263/CVE-2023-50387","provenance":"source"}],"speed":{"daysToPublicExploit":4,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":32.2,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 0.9999"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":1.92,"detail":"6 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}