Skip to content

Sort out NPM dependencies #2000

@Rperry2174

Description

@Rperry2174

Copy of #2033 so this issues survives the merge. Plus the issue should be fixed at the source which is almost exclusively here in the pyroscope repo

Looking at the dependabot alerts it looks quite bad, quite a few critical, high alerts, I suggest we need to update rather sooner than later. Most of it is coming via pyroscope-oss, as far as I can tell. I failed to update it appropriate.

> trivy filesystem ./yarn.lock
yarn.lock (yarn)

Total: 16 (UNKNOWN: 0, LOW: 1, MEDIUM: 10, HIGH: 4, CRITICAL: 1)

┌──────────────┬─────────────────────┬──────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────────┐
│   Library    │    Vulnerability    │ Severity │ Installed Version │ Fixed Version │                            Title                             │
├──────────────┼─────────────────────┼──────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ d3-color     │ GHSA-36jr-mh4h-2g58 │ HIGH     │ 1.4.1             │ 3.1.0         │ d3-color vulnerable to ReDoS                                 │
│              │                     │          │                   │               │ https://github.com/advisories/GHSA-36jr-mh4h-2g58            │
├──────────────┼─────────────────────┤          ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ nth-check    │ CVE-2021-3803       │          │ 1.0.2             │ 2.0.1         │ inefficient regular expression complexity                    │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2021-3803                    │
├──────────────┼─────────────────────┤          ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ parse-path   │ CVE-2022-0624       │          │ 4.0.4             │ 5.0.0         │ Authorization Bypass in parse-path                           │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2022-0624                    │
├──────────────┼─────────────────────┼──────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ parse-url    │ CVE-2022-2900       │ CRITICAL │ 6.0.5             │ 8.1.0         │ Server-Side Request Forgery (SSRF) in GitHub repository      │
│              │                     │          │                   │               │ ionicabizau/parse-url                                        │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2022-2900                    │
│              ├─────────────────────┼──────────┤                   │               ├──────────────────────────────────────────────────────────────┤
│              │ CVE-2022-3224       │ MEDIUM   │                   │               │ parse-url parses http URLs incorrectly, making it vulnerable │
│              │                     │          │                   │               │ to host name spoofing...                                     │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2022-3224                    │
├──────────────┼─────────────────────┼──────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ protobufjs   │ CVE-2023-36665      │ HIGH     │ 6.11.3            │ 7.2.4         │ protobufjs Prototype Pollution vulnerability                 │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2023-36665                   │
├──────────────┼─────────────────────┼──────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ request      │ CVE-2023-28155      │ MEDIUM   │ 2.88.2            │               │ The Request package through 2.88.1 for Node.js allows a      │
│              │                     │          │                   │               │ bypass of SSRF...                                            │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2023-28155                   │
├──────────────┼─────────────────────┤          ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ semver       │ CVE-2022-25883      │          │ 5.7.1             │ 7.5.2         │ semver vulnerable to Regular Expression Denial of Service    │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2022-25883                   │
│              │                     │          ├───────────────────┤               │                                                              │
│              │                     │          │ 6.3.0             │               │                                                              │
│              │                     │          │                   │               │                                                              │
│              │                     │          ├───────────────────┤               │                                                              │
│              │                     │          │ 7.3.8             │               │                                                              │
│              │                     │          │                   │               │                                                              │
│              │                     │          ├───────────────────┤               │                                                              │
│              │                     │          │ 7.5.0             │               │                                                              │
│              │                     │          │                   │               │                                                              │
│              │                     │          ├───────────────────┤               │                                                              │
│              │                     │          │ 7.5.1             │               │                                                              │
│              │                     │          │                   │               │                                                              │
├──────────────┼─────────────────────┼──────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ sweetalert2  │ GHSA-qq6h-5g6j-q3cm │ LOW      │ 11.7.3            │               │ sweetalert2 v11.4.9 and above contains hidden functionality  │
│              │                     │          │                   │               │ https://github.com/advisories/GHSA-qq6h-5g6j-q3cm            │
├──────────────┼─────────────────────┼──────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ tough-cookie │ CVE-2023-26136      │ MEDIUM   │ 2.5.0             │ 4.1.3         │ prototype pollution in cookie memstore                       │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2023-26136                   │
│              │                     │          ├───────────────────┤               │                                                              │
│              │                     │          │ 4.1.2             │               │                                                              │
│              │                     │          │                   │               │                                                              │
├──────────────┼─────────────────────┤          ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ word-wrap    │ CVE-2023-26115      │          │ 1.2.3             │               │ ReDoS                                                        │
│              │                     │          │                   │               │ https://avd.aquasec.com/nvd/cve-2023-26115                   │
└──────────────┴─────────────────────┴──────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────────┘

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions