VDB
EN
MEDIUM 5.9

GHSA-827p-g5x5-h86c

Parse Server LiveQuery subscription with invalid regular expression crashes server

상세

### Impact

A remote attacker can crash the Parse Server by subscribing to a LiveQuery with an invalid regular expression pattern. The server process terminates when the invalid pattern reaches the regex engine during subscription matching, causing denial of service for all connected clients.

### Patches

The fix validates regular expression patterns at subscription time, rejecting invalid patterns before they are stored. Additionally, a defense-in-depth try-catch prevents any subscription matching error from crashing the server process.

### Workarounds

Disable LiveQuery if it is not needed.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / parse-server
최초 영향 버전: 9.0.0 수정 버전: 9.6.0-alpha.19
수정 npm install parse-server@9.6.0-alpha.19
npm / parse-server
최초 영향 버전: 0 수정 버전: 8.6.43
수정 npm install parse-server@8.6.43

참고