protobuf.js
protobuf.js copied to clipboard
CVE-2022-25878 - Fix for version 5.0.3
protobuf.js version: 5.0.3
I would like to fork a new branch for version 5.0.3 in order to solve CVE-2022-25878 , but I couldn't understand where the exposed code in this version , any idea ?
Also I would like to upgrade to a newer version , but couldn't find any document that describe migration steps to do it. it's seems to have a lots of breaking changes , and it's very hard to upgrade this package.
According to NIST the setProperty() function in the src/utils allows for modification of Object prototype properties via certain accessors, such as prototype. A remote attacker can exploit this vulnerability with crafter JSON data that, when consumed by the vulnerable function, may modify the prototyped behavior of objects. 6.8.8 seems fine as well, if you wanna work on this I can help you.
Hi @memartello thanks for your answer. I don't see src/utils file in version 5.0.3. am I'm missing something ?
Hi @memartello any updates ?