Advisory

GHSA-g954-5hwp-pp24

Also known as: CVE-2022-25878

Summary

Prototype Pollution in protobufjs

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-28 00:00 UTC
Modified
2025-01-14 10:57 UTC

Affected packages and fixes

protobufjs

npm · All systems

Affected

  • introduced 6.11.0, fixed 6.11.3 (semver)

Fixed versions

6.11.3

Fix

protobufjs

npm · All systems

Affected

  • introduced 6.10.0, fixed 6.10.3 (semver)

Fixed versions

6.10.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences