Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 9, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change
node-forge 0.9.2 -> 1.0.0

GitHub Vulnerability Alerts

CVE-2020-7720

The package node-forge before 0.10.0 is vulnerable to Prototype Pollution via the util.setPath function. Note: Version 0.10.0 is a breaking change removing the vulnerable functions.

GHSA-gf8q-jrpm-jvxq

Impact

The regex used for the forge.util.parseUrl API would not properly parse certain inputs resulting in a parsed data structure that could lead to undesired behavior.

Patches

forge.util.parseUrl and other very old related URL APIs were removed in 1.0.0 in favor of letting applications use the more modern WHATWG URL Standard API.

Workarounds

Ensure code does not directly or indirectly call forge.util.parseUrl with untrusted input.

References

For more information

If you have any questions or comments about this advisory:

GHSA-5rrq-pxf6-6jx5

Impact

The forge.debug API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised. It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way.

Patches

The forge.debug API and related functions were removed in 1.0.0.

Workarounds

Don't use the forge.debug API directly or indirectly with untrusted input.

References

For more information

If you have any questions or comments about this advisory:

CVE-2022-0122

parseUrl functionality in node-forge mishandles certain uses of backslash such as https:///\ and interprets the URI as a relative path.


Configuration

📅 Schedule: "" (UTC).

🚦 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, click this checkbox.

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

@renovate renovate bot requested a review from erickoledadevrel as a code owner June 9, 2021 15:06
@renovate renovate bot force-pushed the renovate/npm-node-forge-vulnerability branch 2 times, most recently from c37ae48 to a7a29da Compare June 9, 2021 15:24
@renovate renovate bot changed the title Update dependency node-forge to 0.10.0 [SECURITY] Update dependency node-forge to 0.10.0 [SECURITY] - autoclosed Jun 10, 2021
@renovate renovate bot closed this Jun 10, 2021
@renovate renovate bot deleted the renovate/npm-node-forge-vulnerability branch June 10, 2021 00:16
@renovate renovate bot changed the title Update dependency node-forge to 0.10.0 [SECURITY] - autoclosed Update dependency node-forge to 0.10.0 [SECURITY] Jun 10, 2021
@renovate renovate bot reopened this Jun 10, 2021
@renovate renovate bot restored the renovate/npm-node-forge-vulnerability branch June 10, 2021 15:03
@renovate renovate bot force-pushed the renovate/npm-node-forge-vulnerability branch from a7a29da to dcd6897 Compare July 1, 2021 19:11
@renovate renovate bot force-pushed the renovate/npm-node-forge-vulnerability branch from dcd6897 to eab0e68 Compare March 7, 2022 17:34
@renovate renovate bot changed the title Update dependency node-forge to 0.10.0 [SECURITY] Update dependency node-forge to 1.0.0 [SECURITY] Mar 7, 2022
@renovate renovate bot changed the title Update dependency node-forge to 1.0.0 [SECURITY] Update dependency node-forge to 1.0.0 [SECURITY] - autoclosed Mar 17, 2022
@renovate renovate bot closed this Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants