CVE-2023-36665
"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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 9 | grafana | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Will not fix Will not fix | ||
| npm library | protobufjs | Fixed | 6.11.4 | GHSA-h755-8qp9-cq85 |
References
- https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.3...protobufjs-v7.2.4
- https://github.com/protobufjs/protobuf.js/commit/e66379f451b0393c27d87b37fa7d271619e16b0d
- https://www.code-intelligence.com/blog/cve-protobufjs-prototype-pollution-cve-2023-36665
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.2.4
- https://github.com/protobufjs/protobuf.js/pull/1899
- https://security.netapp.com/advisory/ntap-20240628-0006/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.