MediumGHSA-762f-c2wg-m8c8CVE-2018-3738
Denial of Service in protobufjs
Published 9 Oct 2018 · Updated 8 Nov 2023
Affected packages
protobufjsnpm
- Affected
- >=6.0.0 <6.8.6
- Fixed in
- 6.8.6
Update to the fixed version for your release line, for example:
npm install protobufjs@6.8.6protobufjsnpm
- Affected
- <5.0.3
- Fixed in
- 5.0.3
Update to the fixed version for your release line, for example:
npm install protobufjs@5.0.3Details
Versions of protobufjs before 5.0.3 and 6.8.6 are vulnerable to a regular expression denial of service when parsing crafted invalid *.proto files.
Recommendation
Update to version 5.0.3, 6.8.6 or later.
Is GHSA-762f-c2wg-m8c8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected protobufjs, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.