Problem/Motivation
Note (& Cover My Ass-disclaimer): This issue been discussed with @longwave wearing his Drupal Security Team hat (which I must admit matches the color of his eyes perfectly) and he was OK with this being handled in the public queue.
Steps to reproduce
$ yarn audit
yarn audit v1.22.19
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ high │ Chaijs/get-func-name vulnerable to ReDoS │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ get-func-name │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=2.0.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ nightwatch │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ nightwatch > @nightwatch/chai > loupe > get-func-name │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://www.npmjs.com/advisories/1094183 │
└───────────────┴──────────────────────────────────────────────────────────────┘
1 vulnerabilities found - Packages audited: 822
Severity: 1 High
Proposed resolution
Nightwatch is a major version bump ahead of us (#3371963: Update Nightwatch to 3.x), so we can't (easily) update it.
Adding magic to /core/package.json "resolutions"-key should work.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3390380-10.1.x-5.patch | 1.45 KB | spokje |
| #2 | CVE-2023-43646.patch | 1.46 KB | spokje |
Comments
Comment #2
spokjeComment #3
spokjeComment #4
spokjeNeeds backports
Comment #5
spokjeComment #6
spokjeLooking at #3390380: Security update get-func-name (CVE-2023-43646) we don't do 10.0.x anymore
Comment #7
spokjeComment #8
smustgrave commentedApplies cleanly to 11.x also.
Comment #9
longwaveCommitted and pushed b164d5c575 to 11.x and c23f214501 to 10.1.x. Thanks!