Vulnerability library
Security checkJune 28, 2024

protobufjs Prototype Pollution vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmprotobufjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

protobuf.js (aka protobufjs) 6.10.0 until 6.11.4 and 7.0.0 until 7.2.4 allows Prototype Pollution, a different vulnerability than CVE-2022-25878. A user-controlled protobuf message can be used by an attacker to pollute the prototype of Object.prototype by adding and overwriting its data and functions.

Recommendation

Update the protobufjs package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 7.0.0, < 7.2.5 >= 6.10.0, < 6.11.4**
  • Patched version(s): **7.2.5 6.11.4**

References

Could your website be exposed too?

SmartScanner can check your website for protobufjs Prototype Pollution vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 28, 2024