Skip to content

🚨 Security Vulnerability: Uncontrolled Resource Consumption in @grpc/grpc-js (introduced via @google-cloud/pubsub & @google-cloud/logging-winston) #2015

@ran2207

Description

@ran2207

Overview:
A security vulnerability (CVE-2024-37168) has been detected in @grpc/grpc-js, affecting projects that use @google-cloud/pubsub and @google-cloud/logging-winston. The vulnerability is related to uncontrolled resource consumption (CWE-789) and has a CVSS score of 6.9 (Medium severity).

Vulnerability Details:

Impact:
This vulnerability can lead to uncontrolled resource consumption, which may degrade performance or cause availability issues under certain conditions.

Steps to Reproduce:

  1. Install @google-cloud/[email protected] or @google-cloud/[email protected].
  2. Run npm audit or snyk test to detect the vulnerability.
  3. Observe that @grpc/grpc-js is flagged with CVE-2024-37168.

Suggested Fix:

  • Upgrade @grpc/grpc-js to 1.10.9 or higher in @google-cloud/pubsub and @google-cloud/logging-winston.
  • If possible, remove unnecessary dependencies on vulnerable versions.

Next Steps:
Can you confirm if a patch is planned for upcoming releases of @google-cloud/pubsub and @google-cloud/logging-winston to use the latest safe version of @grpc/grpc-js?

Looking forward to your response. Thanks for your help!

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the googleapis/nodejs-pubsub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions