Description
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1 and 7.5.5, attackers can inject arbitrary code in the “type” fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1 and 7.5.5 patch the issue.
Problem types
CWE-94: Improper Control of Generation of Code (‘Code Injection’)
Product status
>= 8.0.0-experimental, < 8.0.1
References
github.com/…buf.js/security/advisories/GHSA-xq3m-2v4x-88gg
github.com/…ommit/535df444ac060243722ac5d672db205e5c531d75
github.com/…ommit/ff7b2afef8754837cc6dc64c864cd111ab477956
github.com/…fjs/protobuf.js/releases/tag/protobufjs-v7.5.5
github.com/…fjs/protobuf.js/releases/tag/protobufjs-v8.0.1
