GHSA-h423-w6qv-2wj3
parse-server crashes when receiving file download request with invalid byte range
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | parse-server | < 4.10.17 | 4.10.17 |
| npm | parse-server | >= 5.0.0, < 5.2.8 | 5.2.8 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
Parse Server crashes when a file download request is received with an invalid byte range.
### Patches
Improved parsing of the range parameter to properly handle invalid range requests.
### Workarounds
None
### References
- [GHSA-h423-w6qv-2wj3](https://github.com/parse-community/parse-server/security/advisories/GHSA-h423-w6qv-2wj3)
References
External links from the advisory. They lead to third-party sites.
- https://github.com/parse-community/parse-server/security/advisories/GHSA-h423-w6qv-2wj3
- https://nvd.nist.gov/vuln/detail/CVE-2022-39313
- https://github.com/parse-community/parse-server/commit/066f29673ab4030b6b5b90c0c0326f7d3fe7612a
- https://github.com/parse-community/parse-server/commit/3d7a61ecd5231638f01ff1a965b6313043c594a7
- https://github.com/parse-community/parse-server
- https://github.com/parse-community/parse-server/releases/tag/4.10.17