CVE-2022-25878: Prototype Pollution

Published May 27, 2022
·
Updated

The package protobufjs before 6.11.3 are vulnerable to Prototype Pollution which can allow an attacker to add/modify properties of the Object.prototype. This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files

Other sources

The package protobufjs is vulnerable to Prototype Pollution, which can allow an attacker to add/modify properties of the Object.prototype. Versions after and including 6.10.0 until 6.10.3 and after and including 6.11.0 until 6.11.3 are vulnerable.

This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files

Affected Software

3 affected componentsFixes available
npm/protobufjs>=6.10.0<6.10.3
6.10.3
npm/protobufjs>=6.11.0<6.11.3
6.11.3
Protobufjs Project Protobufjs Node.js<6.11.3

Event History

May 27, 2022
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
May 28, 2022
Advisory Published
12:00 AM

Frequently Asked Questions

1

What is the severity of CVE-2022-25878?

CVE-2022-25878 is recognized as a high-severity vulnerability due to the risk of prototype pollution.

2

How do I fix CVE-2022-25878?

To fix CVE-2022-25878, upgrade the protobufjs package to version 6.11.3 or later.

3

What versions of protobufjs are affected by CVE-2022-25878?

CVE-2022-25878 affects protobufjs versions before 6.11.3, specifically from 6.10.0 to 6.11.2.

4

What impact does CVE-2022-25878 have on applications?

CVE-2022-25878 allows attackers to manipulate properties of the Object.prototype, which can lead to unexpected behaviors in applications.

5

Where can I find more details about CVE-2022-25878?

Detailed information about CVE-2022-25878 can be found in the GitHub repository for protobufjs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203