{"id":"CVE-2021-27405","aliases":[],"url":"https://o3.security/vulnerability/CVE-2021-27405","summary":"Regular expression Denial of Service in @progfay/scrapbox-parser","details":"### 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)","published":"2021-03-01T20:44:44Z","modified":"2023-11-08T04:05:24.670484Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@progfay/scrapbox-parser","fixedVersion":"6.0.3"},{"ecosystem":"npm","name":"@progfay/scrapbox-parser","fixedVersion":"7.0.2"}],"fix":{"url":"https://github.com/progfay/scrapbox-parser/pull/519","label":"progfay/scrapbox-parser#519"},"references":[{"type":"WEB","url":"https://github.com/progfay/scrapbox-parser/security/advisories/GHSA-9fhw-r42p-5c7r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27405"},{"type":"WEB","url":"https://github.com/progfay/scrapbox-parser/pull/519"},{"type":"WEB","url":"https://github.com/progfay/scrapbox-parser/pull/539"},{"type":"WEB","url":"https://github.com/progfay/scrapbox-parser/pull/540"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210326-0002"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:05:24.670484Z"}}