Skip to content

chore(dependencies): update dependency marked to 4.0.10 [security] - abandoned - #287

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-marked-vulnerability
Open

chore(dependencies): update dependency marked to 4.0.10 [security] - abandoned#287
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-marked-vulnerability

Conversation

@renovate

@renovaterenovateBot commented Apr 25, 2022

Copy link
Copy Markdown

Mend Renovate

This PR contains the following updates:

PackageChange
marked2.1.3 -> 4.0.10

GitHub Vulnerability Alerts

CVE-2022-21681

Impact

What kind of vulnerability is it?

Denial of service.

The regular expression inline.reflinkSearch may cause catastrophic backtracking against some strings.
PoC is the following.

import*asmarkedfrom'marked';console.log(marked.parse(`[x]: x\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](`));

Who is impacted?

Anyone who runs untrusted markdown through marked and does not use a worker with a time limit.

Patches

Has the problem been patched?

Yes

What versions should users upgrade to?

4.0.10

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Do not run untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

References

Are there any links users can visit to find out more?

For more information

If you have any questions or comments about this advisory:

CVE-2022-21680

Impact

What kind of vulnerability is it?

Denial of service.

The regular expression block.def may cause catastrophic backtracking against some strings.
PoC is the following.

import*asmarkedfrom"marked";marked.parse(`[x]:${' '.repeat(1500)}x ${' '.repeat(1500)} x`);

Who is impacted?

Anyone who runs untrusted markdown through marked and does not use a worker with a time limit.

Patches

Has the problem been patched?

Yes

What versions should users upgrade to?

4.0.10

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Do not run untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

References

Are there any links users can visit to find out more?

For more information

If you have any questions or comments about this advisory:


Configuration

📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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, check this box

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

@renovate
renovateBotforce-pushed the renovate/npm-marked-vulnerability branch from 16e2680 to 8cf4e78CompareApril 26, 2022 01:25
@renovate
renovateBotforce-pushed the renovate/npm-marked-vulnerability branch from 8cf4e78 to ce52942CompareMay 4, 2022 05:37
@renovate

renovateBot commented May 4, 2022

Copy link
Copy Markdown
Author

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json

@renovaterenovateBot changed the title chore(dependencies): update dependency marked to 4.0.10 [security]chore(dependencies): update dependency marked to 4.0.10 [security] - autoclosedMay 11, 2022
@renovaterenovateBot closed this May 11, 2022
@renovate
renovateBot deleted the renovate/npm-marked-vulnerability branch May 11, 2022 12:16
@renovaterenovateBot changed the title chore(dependencies): update dependency marked to 4.0.10 [security] - autoclosedchore(dependencies): update dependency marked to 4.0.10 [security]May 11, 2022
@renovaterenovateBot reopened this May 11, 2022
@renovate
renovateBot restored the renovate/npm-marked-vulnerability branch May 11, 2022 16:08
@renovaterenovateBot changed the title chore(dependencies): update dependency marked to 4.0.10 [security]chore(dependencies): update dependency marked to 4.0.10 [security] - abandonedMar 24, 2023
@renovate

renovateBot commented Mar 24, 2023

Copy link
Copy Markdown
Author

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@renovate-bot