{"id":"CVE-2021-27405","aliases":["EUVD-2021-0640","GHSA-9fhw-r42p-5c7r"],"status":"published","title":"Regular expression Denial of Service in @progfay/scrapbox-parser","description":"A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01759,"percentile":0.78306,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-02-19T04:03:48Z","modified":"2026-06-17T03:44:47Z","fixes":[{"ecosystem":"npm","package":"@progfay/scrapbox-parser","fixed_in":["6.0.3","7.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@progfay/scrapbox-parser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.3"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@progfay/scrapbox-parser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@progfay/scrapbox-parser","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@progfay/scrapbox-parser","ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.2"}]}]}],"products":[{"vendor":"scrapbox-parser_project","product":"scrapbox-parser"}],"references":[{"url":"https://github.com/progfay/scrapbox-parser/pull/519","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/progfay/scrapbox-parser/pull/539","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/progfay/scrapbox-parser/pull/540","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210326-0002/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://github.com/progfay/scrapbox-parser/security/advisories/GHSA-9fhw-r42p-5c7r","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27405","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9fhw-r42p-5c7r"},{"url":"https://security.netapp.com/advisory/ntap-20210326-0002","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-27405","description":"A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.","status":"published","published":"2021-02-19T04:03:48Z","modified":"2024-08-03T20:48:16.74Z","updated_at":"2026-11-02T14:33:04.360272Z"}],"euvd":[{"id":"EUVD-2021-0640","description":"A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.","status":"published","published":"2021-02-19T04:03:48Z","modified":"2024-08-03T20:48:16Z","updated_at":"2026-11-03T03:24:49.808499Z"}],"ghsa":[{"id":"GHSA-9fhw-r42p-5c7r","title":"Regular expression Denial of Service in @progfay/scrapbox-parser","description":"### Impact\n\nA [Regular expression Denial of Service](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) flaw was found in the @progfay/scrapbox-parser package before 6.0.3, 7.0.2 for Node.js.\nThe attacker that is able to be parsed a specially crafted text may cause the application to consume an excessive amount of CPU.\n\n### Patches\n\nUpgrade to version 6.0.3, 7.0.2 or later.\n\n### Workarounds\n\nAvoid to parse text with a lot of `[` chars.\n\n### References\n\n* https://github.com/progfay/scrapbox-parser/pull/519\n* https://github.com/progfay/scrapbox-parser/pull/539\n* https://github.com/progfay/scrapbox-parser/pull/540\n* https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-27405\n* https://snyk.io/vuln/SNYK-JS-PROGFAYSCRAPBOXPARSER-1076803\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [github.com/progfay/scrapbox-parser](https://github.com/progfay/scrapbox-parser/issues)","status":"published","published":"2021-03-01T20:44:44Z","modified":"2023-02-01T05:05:11Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:32.918681Z"}],"nvd":[{"id":"CVE-2021-27405","description":"A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.","status":"published","published":"2021-02-19T05:15:19.43Z","modified":"2026-06-17T03:44:47.95Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:06:50.031227Z"}],"osv":[{"id":"GHSA-9fhw-r42p-5c7r","title":"Regular expression Denial of Service in @progfay/scrapbox-parser","description":"### Impact\n\nA [Regular expression Denial of Service](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) flaw was found in the @progfay/scrapbox-parser package before 6.0.3, 7.0.2 for Node.js.\nThe attacker that is able to be parsed a specially crafted text may cause the application to consume an excessive amount of CPU.\n\n### Patches\n\nUpgrade to version 6.0.3, 7.0.2 or later.\n\n### Workarounds\n\nAvoid to parse text with a lot of `[` chars.\n\n### References\n\n* https://github.com/progfay/scrapbox-parser/pull/519\n* https://github.com/progfay/scrapbox-parser/pull/539\n* https://github.com/progfay/scrapbox-parser/pull/540\n* https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-27405\n* https://snyk.io/vuln/SNYK-JS-PROGFAYSCRAPBOXPARSER-1076803\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [github.com/progfay/scrapbox-parser](https://github.com/progfay/scrapbox-parser/issues)","status":"published","published":"2021-03-01T20:44:44Z","modified":"2023-11-08T04:05:24.670484Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:43.524801Z"}]}}
