Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Update dependency color-string to 1.5.5 [SECURITY] #221

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change
color-string 1.5.4 -> 1.5.5

GitHub Vulnerability Alerts

CVE-2021-29060

In the npm package color-string, there is a ReDos (Regular Expression Denial of Service) vulnerability regarding an exponential time complexity for
linearly increasing input lengths for hwb() color strings.

Strings reaching more than 5000 characters would see several
milliseconds of processing time; strings reaching more than
50,000 characters began seeing 1500ms (1.5s) of processing time.

The cause was due to a the regular expression that parses
hwb() strings - specifically, the hue value - where
the integer portion of the hue value used a 0-or-more quantifier
shortly thereafter followed by a 1-or-more quantifier.

This caused excessive backtracking and a cartesian scan,
resulting in exponential time complexity given a linear
increase in input length.


Configuration

📅 Schedule: "" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the renovate label Dec 8, 2021
@renovate renovate bot force-pushed the renovate/npm-color-string-vulnerability branch 2 times, most recently from 4d38c10 to c948394 Compare December 25, 2021 03:10
@renovate renovate bot force-pushed the renovate/npm-color-string-vulnerability branch 2 times, most recently from 5f88944 to e696ac7 Compare January 3, 2022 02:30
@renovate renovate bot force-pushed the renovate/npm-color-string-vulnerability branch from e696ac7 to 3dd697f Compare January 15, 2022 03:21
@renovate renovate bot force-pushed the renovate/npm-color-string-vulnerability branch 2 times, most recently from 27573f8 to cd663dd Compare January 22, 2022 17:10
@renovate renovate bot force-pushed the renovate/npm-color-string-vulnerability branch from cd663dd to a8758bf Compare January 26, 2022 13:35
@hrigner hrigner merged commit ffce0cd into master Jan 26, 2022
@hrigner hrigner deleted the renovate/npm-color-string-vulnerability branch January 26, 2022 13:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants