CVE-2023-36665

Critical

Description

"protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 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. Exploitation can involve: (1) using the function parse to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty.

SeverityCritical
CVSS9.8
Exploit probability—
ProductProtobufjs
PublishedJul 5, 2023
First seenJul 5, 2023

How to fix

Update
  • protobufjs_project protobufjs7.2.5 or later
  • protobufjs7.2.5, 6.11.4 or later

Affected products

ProductAffected versionsFixed in
protobufjs_project protobufjs6.10.0 ≤ v < 7.2.57.2.5
protobufjsnpm7.0.0 ≤ v < 7.2.5, 6.10.0 ≤ v < 6.11.47.2.5, 6.11.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.