-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
api: pubsubIssues related to the googleapis/nodejs-pubsub API.Issues related to the googleapis/nodejs-pubsub API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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:
- Package Affected:
@grpc/grpc-js - Introduced via:
@google-cloud/[email protected]@google-cloud/[email protected]
- CWE ID: [CWE-789](https://cwe.mitre.org/data/definitions/789.html)
- CVE ID: [CVE-2024-37168](https://nvd.nist.gov/vuln/detail/CVE-2024-37168)
- Exploit Maturity: No known exploits, but potential for excessive CPU/memory consumption.
- Fixed in Versions:
@grpc/[email protected],1.9.15,1.10.9
Impact:
This vulnerability can lead to uncontrolled resource consumption, which may degrade performance or cause availability issues under certain conditions.
Steps to Reproduce:
- Install
@google-cloud/[email protected]or@google-cloud/[email protected]. - Run
npm auditorsnyk testto detect the vulnerability. - Observe that
@grpc/grpc-jsis flagged with CVE-2024-37168.
Suggested Fix:
- Upgrade
@grpc/grpc-jsto 1.10.9 or higher in@google-cloud/pubsuband@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.Issues related to the googleapis/nodejs-pubsub API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.