Skip to content

@google-cloud/logging: archived dependency eventid-js pulls in vulnerable uuid@^8 #8681

Description

@niksauer

Library Name: @google-cloud/logging

Summary

@google-cloud/logging depends on eventid@^2.0.0, which depends on uuid@^8.0.0. The uuid package has a security advisory (GHSA-w5hq-g745-h8pq) affecting versions <= 10.1.0 — the fix requires uuid >= 11.1.1, which is outside eventid's ^8.0.0 range.

The upstream repo google/eventid-js is archived, so there will be no update to widen the uuid range.

Impact

Any project using @google-cloud/logging gets a Dependabot security alert for uuid that cannot be resolved without either:

  • Removing the eventid dependency from @google-cloud/logging
  • Inlining the eventid functionality (it's a small module)
  • Forking eventid with an updated uuid range

Current state

Suggestion

Consider dropping the eventid dependency and replacing it with an inline implementation or an alternative that doesn't depend on a vulnerable uuid version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions