Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1nOTU0LTVod3AtcHAyNM4AArQX

Prototype Pollution in protobufjs

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
Permalink: https://github.com/advisories/GHSA-g954-5hwp-pp24
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nOTU0LTVod3AtcHAyNM4AArQX
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 5 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Identifiers: GHSA-g954-5hwp-pp24, CVE-2022-25878
References: Repository: https://github.com/protobufjs/protobuf.js
Blast Radius: 41.8

Affected Packages

npm:protobufjs
Dependent packages: 3,418
Dependent repositories: 377,915
Downloads: 66,809,764 last month
Affected Version Ranges: >= 6.10.0, < 6.10.3, >= 6.11.0, < 6.11.3
Fixed in: 6.10.3, 6.11.3
All affected versions: 6.10.0, 6.10.1, 6.10.2, 6.11.0, 6.11.1, 6.11.2
All unaffected versions: 0.0.0, 0.9.1, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.13, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5, 0.12.6, 0.12.7, 0.12.8, 0.12.9, 0.12.10, 0.12.11, 0.12.12, 0.12.13, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 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