SB2022010641 - Multiple vulnerabilities in node-forge



SB2022010641 - Multiple vulnerabilities in node-forge

Published: January 6, 2022 Updated: November 6, 2026

Security Bulletin ID SB2022010641
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Open redirect (CVE-ID: N/A)

CWE-ID: CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows an attacker to cause applications using node-forge to interpret untrusted URLs incorrectly, potentially resulting in undesired application behavior.

The vulnerability exists due to a regular expression in the forge.util.parseUrl API that does not correctly parse certain inputs. An attacker can supply a crafted URL to an application that directly or indirectly passes untrusted input to this API, causing it to return incorrectly parsed data.


2) Prototype pollution (CVE-ID: N/A)

CWE-ID: CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes (\'Prototype Pollution\')

CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows an attacker supplying untrusted input to modify object prototype attributes in applications using node-forge.

The vulnerability exists due to improper control of prototype attributes in the undocumented forge.debug API when an application calls it directly or indirectly with untrusted input. An attacker supplying untrusted input can pollute prototypes if the application passes attacker-controlled data to this API, which was intended for internal debugging.


Remediation

Install update from vendor's website.