{"id":"CVE-2021-27405","aliases":["CVE-2021-27405","GHSA-9fhw-r42p-5c7r"],"related":[],"kind":"vulnerability","state":"published","title":"Regular expression Denial of Service in @progfay/scrapbox-parser","summary":"A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró un fallo de tipo ReDoS (denegación de servicio de expresión regular) en el paquete @progfay/scrapbox-parser versiones anteriores a 6.0.3 para Node.js","source":"nvd"}],"published":"2021-02-19T04:03:48.000Z","modified":"2026-06-17T03:44:47.950Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.0.3"}],"ecosystem":"npm","package":"@progfay/scrapbox-parser","purl":"pkg:npm/%40progfay/scrapbox-parser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.2"}],"ecosystem":"npm","package":"@progfay/scrapbox-parser","purl":"pkg:npm/%40progfay/scrapbox-parser","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.0.3"}],"vendor":"scrapbox-parser_project","product":"scrapbox-parser","cpe":"cpe:2.3:a:scrapbox-parser_project:scrapbox-parser:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/progfay/scrapbox-parser/pull/519","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/progfay/scrapbox-parser/pull/539","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/progfay/scrapbox-parser/pull/540","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210326-0002/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/progfay/scrapbox-parser/security/advisories/GHSA-9fhw-r42p-5c7r","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27405","tags":["advisory"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210326-0002","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27405","url":"https://www.cve.org/CVERecord?id=CVE-2021-27405","licence":"CVE Terms of Use","modified":"2024-08-03T20:48:16.740Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9fhw-r42p-5c7r","url":"https://github.com/advisories/GHSA-9fhw-r42p-5c7r","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:24.670Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27405","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27405","licence":"Public domain","modified":"2026-06-17T03:44:47.950Z"}],"updatedAt":"2026-11-25T22:57:59.991Z","epss":{"score":0.0178,"percentile":0.78906,"date":"2026-12-01T12:00:22.000Z"}}