Skip to content

npm audit flags dep [email protected] with high severity vulnerabilities due to lodash.set #493

Closed
@0x-a6

Description

Describe the bug

When running npm audit with [email protected] result:

# npm audit report

lodash.set  *
Severity: high
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
fix available via `npm audit fix`
node_modules/lodash.set
  sbo  >=1.1.3
  Depends on vulnerable versions of lodash.set
  node_modules/sbo

2 high severity vulnerabilities

To address all issues, run:
  npm audit fix

Expected Behavior

when running npm audit should result in 0 vulnerabilities

Current Behavior

2 high vulnerabilities detected

Reproduction Steps

6.5.0-27-generic kernel, 22.04.1-Ubuntu x86_64 Linux,
node v18.19.1,
npm 10.5.2
install the package
run npm audit

Possible Solution

Perhaps it's related to an old object copy issue mentioned here: lodash/lodash#5809 I don't know. But it seems like an old vulnerability for such a modern version of dependency

Additional Information/Context

No response

SDK version used

1.19.3

Environment details (OS name and version, etc.)

6.5.0-27-generic kernel, 22.04.1-Ubuntu x86_64 Linux, node v18.19.1, npm 10.5.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions