Live threats

All CVEs / Protobufjs Project

CVE-2022-25878Protobufjs Project Protobufjs

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
May 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Protobufjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm protobufjs ≥ 6.11.0 < 6.11.3 6.11.3 npm install protobufjs@6.11.3
npm protobufjs ≥ 6.10.0 < 6.10.3 6.10.3 npm install protobufjs@6.10.3

Per OSV / GitHub Advisories (GHSA-g954-5hwp-pp24). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
protobufjs_projectprotobufjs< 6.11.3

Official sources

References

Links published by the sources. Open them with care.