Vulnerabilities / CVE-2023-36665

critical

CVE-2023-36665

protobufjs: prototype pollution using user-controlled protobuf message

Published Modified CWE 1321
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npmprotobufjs7.2.5, 6.11.4
echo npm::Echo OSVprotobufjs6.11.4
rapidfort alma 8grafana, grafana-selinuxno fix listed
rapidfort alma 9grafana, grafana-selinuxno fix listed
rapidfort Oracle Linux 9grafana, grafana-selinuxno fix listed
rapidfort rocky 8grafana, grafana-selinuxno fix listed
rapidfort rocky 9grafana, grafana-selinuxno fix listed
Red Hatgrafana, grafana-azure-monitor, grafana-cloudwatch and 11 moreno fix listed
Show all 26 entries from 8 sources
SourcePackageFixed in
npm::GitHub Security Advisory npmprotobufjs7.2.5, 6.11.4
echo npm::Echo OSVprotobufjs6.11.4
rapidfort alma 8grafanano fix listed
rapidfort alma 8grafana-selinuxno fix listed
rapidfort alma 9grafanano fix listed
rapidfort alma 9grafana-selinuxno fix listed
rapidfort Oracle Linux 9grafanano fix listed
rapidfort Oracle Linux 9grafana-selinuxno fix listed
rapidfort rocky 8grafanano fix listed
rapidfort rocky 8grafana-selinuxno fix listed
rapidfort rocky 9grafanano fix listed
rapidfort rocky 9grafana-selinuxno fix listed
Red Hatgrafanano fix listed
Red Hatgrafana-azure-monitorno fix listed
Red Hatgrafana-cloudwatchno fix listed
Red Hatgrafana-elasticsearchno fix listed
Red Hatgrafana-graphiteno fix listed
Red Hatgrafana-influxdbno fix listed
Red Hatgrafana-lokino fix listed
Red Hatgrafana-mssqlno fix listed
Red Hatgrafana-mysqlno fix listed
Red Hatgrafana-opentsdbno fix listed
Red Hatgrafana-postgresno fix listed
Red Hatgrafana-prometheusno fix listed
Red Hatgrafana-selinuxno fix listed
Red Hatgrafana-stackdriverno fix listed

References

All 15 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.