Description
LobeChat before version 2.2.10-canary.15 contains a regular expression denial of service (ReDoS) vulnerability that allows authenticated attackers to block the Node.js event loop by supplying a catastrophic-backtracking pattern in a GitHub repository URL path during skill import. Attackers can craft a malicious basePath value containing unescaped regex metacharacters such as catastrophic-backtracking patterns, which are injected into a dynamically constructed regular expression in the findSkillMd function and executed synchronously against archive entries, denying service to all concurrent users for tens of seconds per request.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lobehub | lobehub | < 2.2.10-canary.15 | 2.2.10-canary.15 |
References
- lobehub 2.2.10-canary.15 Release Notes release-notes
- Researcher Disclosure exploit technical-description issue-tracking
- Fix PR issue-tracking patch
- Fix Commit patch
- https://www.vulncheck.com/advisories/lobechat-canary-15-regular-expression-denial-of-service-in-github-skill-import third-party-advisory