Skip to content

version 10.0.1 depends on vulnerable protobufjs #1393

@slowtick

Description

@slowtick

Version 10.0.1 of @google-cloud/datastore library sets "protobufjs": "7.0.0" which has a critical vulnerability.

# npm audit report

protobufjs  7.0.0 - 7.2.4
Severity: critical
protobufjs Prototype Pollution vulnerability - https://github.com/advisories/GHSA-h755-8qp9-cq85
fix available via `npm audit fix --force`
Will install @google-cloud/datastore@9.2.1, which is a breaking change
node_modules/@google-cloud/datastore/node_modules/protobufjs
  @google-cloud/datastore  >=10.0.1
  Depends on vulnerable versions of protobufjs
  node_modules/@google-cloud/datastore

2 critical severity vulnerabilities

Overriding to "protobufjs": "^7.0.0" seem to bring in latest of protobufjs that mitigates the vulnerability & seem to work okay in our tests.

Can this dependency be updated and released?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: datastoreIssues related to the googleapis/nodejs-datastore API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions