Skip to content

chore(deps): bump node-forge from 1.4.0 to 1.4.4 - #1177

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/node-forge-1.4.4
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/node-forge-1.4.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps node-forge from 1.4.0 to 1.4.4.

Changelog

Sourced from node-forge's changelog.

1.4.4 - 2026-11-22

Security

  • LOW: RSA multi-prime private keys are read as two-prime keys.
    • pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and any otherPrimeInfos, so a multi-prime key (RFC 8017 A.1.2) is read with only its first two primes. forge doesn't support multi-prime keys: signatures made with such a key are invalid, and each one reveals a factor of the modulus to anyone who sees it. Keys that forge or most other tools generate are two-prime and not affected. Replace multi-prime keys that were used to sign with forge.
    • Found while reviewing #1143.
    • CVE ID: CVE-TBD
    • GHSA ID: GHSA-w73w-hhm4-q25p

Fixed

  • [rsa] Reject RSAPrivateKeys with a version other than 0 or with otherPrimeInfos. Reported by @​Jennifer-first (#1143).
    • NOTE: Multi-prime keys, and keys with an invalid version, now fail to load with "Only two-prime RSAPrivateKey version 0 is supported." instead of loading and then producing invalid signatures and failing decryption.
  • [rc2] Compute the effective key length mask as RFC 2268 defines it. Key expansion was wrong when the effective key size was not a multiple of 8 bits, and two of the RFC 2268 test vectors failed. Reported by @​Martomate (#1120). From PR #1150 by @​ArockiaRajamanickam.
    • NOTE: Output changes for effective key sizes that are not a multiple of 8 bits. Data encrypted with such sizes by earlier versions doesn't decrypt with this version (and didn't interoperate with other RC2 implementations). The default (128) and other multiples of 8, including the 40 and 128 bit sizes used by PKCS#12, are unchanged.
  • [util] Encode the low byte of characters over 0xff in util.encode64(), as Node.js does for 'binary' strings, instead of returning invalid base64. Input should still be a binary string (use util.encodeUtf8() for text). Reported in #932. Based on PR #933 by @​wklaczynski.
  • [ssh] Don't add a leading zero byte to integers with an odd number of hex digits in SSH and PuTTY key encoding. Integers such as the private exponent or primes in ssh.privateKeyToPutty() were sometimes encoded with an extra leading zero byte, which RFC 4251 doesn't allow, and PuTTY couldn't load several percent of the keys. Reported by @​yammelvin (#952). From PR #987 by @​romeech91.
  • [jsbn] Detect Node.js with util.isNodejs instead of a missing navigator global, which Node.js 21+ defines. jsbn used a browser code path with

... (truncated)

Commits
  • 7437e75 Release 1.4.4.
  • 9458dc4 Update changelog.
  • d7f01f9 Use Node.js seed data as raw bytes in the PRNG.
  • 9a0a206 Update log URL guard tests and add changelog entry.
  • 0c94d4a Add unit tests for log setup without URL or location.href.
  • 69f3518 Fix log setup crash in environments without URL or location.href
  • 5d60a20 "verify" instead of "sign" comment ed25519
  • 882af2c Add jsbn Node.js digit size test and changelog entry.
  • f36ab9b fix: jsbn use util.isNodejs to determine node runtime
  • d22d056 Add SSH mpint test and changelog entry.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 26, 2026
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.4.0 to 1.4.4.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.4.0...v1.4.4)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-version: 1.4.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/node-forge-1.4.4 branch from 5811c1f to 1b84b6c Compare November 30, 2026 01:02

This branch has not been deployed

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

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants