Problem/Motivation
Further to https://www.drupal.org/project/drupal/issues/3181057, which addresses an update to the third-party library Underscore.js, another update is needed to address a security issue as raised here: https://nvd.nist.gov/vuln/detail/CVE-2021-23358
Proposed resolution
Update underscore to 1.13.1, which is the latest tagged release on the official github repository (https://github.com/jashkenas/underscore/releases)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3209456-8.9.x-3.patch | 101.3 KB | piggito |
| #2 | 3209456-2.patch | 104.03 KB | kpa |
Comments
Comment #2
kpa commentedPatch as attached to pull forward from 1.11.0 to 1.13.1
Comment #3
piggito commentedAttached a ported version of patch for 8.9.x
Comment #4
mherchelRTBC
Verified the patch in #2 by doing the following:
underscore-min.jsandunderscore-min.js.mapdirectly from Github and verified that there are no differencesNote that I did not test out functionality (I assume automated tests will catch any regressions).
Comment #5
mherchelAlso verified #3 against 8.9.x using the same method in my previous comment.
Comment #7
andypostComment #11
lauriiiTested manually contextual links, tour and CKE UI that are using Backbone and Underscore.
Committed e939dbe and pushed to 9.3.x and 9.2.x. Thanks!
Leaving open for backport.
Comment #12
effulgentsia commentedHasn't been backported to 9.1 yet, so tagging for a 9.2 release note.
Comment #15
catchComment #16
catch