Skip to content

@docusaurus/[email protected] depends on a deep dependency [email protected] which is a vulnerable version #8277

@xnivaxhzne

Description

@xnivaxhzne

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

@docusaurus/[email protected] depends on a deep dependency [email protected] which is a vulnerable version

Dependency Map:

Observations:

[email protected] and above are the bug free ones
[email protected] and above contains the above got package version
[email protected] and above contains the above package-json package version
[email protected] and above contains the above latest-version package version
But, @docusaurus/[email protected] contains only the [email protected] which has vulnerable got.

Useful Links:

https://www.npmjs.com/package/got
https://nvd.nist.gov/vuln/detail/CVE-2022-33987

Reproducible demo

No response

Steps to reproduce

Run npm ls got

You will get

Here, [email protected] is a vulnerable version.

Expected behavior

@docusaurus/core should use at least [email protected] which is having non vulnerable got

Actual behavior

@docusaurus/core is using [email protected] which is having vulnerable version of [email protected]

Your environment

  • Docusaurus version used: 2.2.0
  • Environment name and version (e.g. Chrome 106.0.5249.119, Node.js 16.17.0):
  • Operating system and version (e.g. Mac OS Monterey 12.5.1):

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its execution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions