Skip to content

chore(deps): update dependency node-forge to >=1.4.4 - #11445

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/node-forge-1.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/node-forge-1.x

Conversation

@renovate

@renovate renovate Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
node-forge >=1.4.3 → >=1.4.4 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

digitalbazaar/forge (node-forge)

v1.4.4

Compare Source

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
    26-bit digits instead of 28-bit digits on Node.js 21+. Results are the
    same. Reported in #​1081.
    From PR #​1082 by
    @​dhensby.
  • [log] Don't fail to load when URL or window.location.href isn't
    available (for example in hybrid mobile runtimes and some test
    environments). Reported by @​elshadsm
    (#​1117). From PR
    #​1153 by @​cpruijsen
    (similar fix in #​1103
    by @​LaelLuo).
  • [prng] Use the Node.js crypto.randomBytes() seed data as raw bytes. It
    was decoded as UTF-8, which turned many bytes into U+FFFD and reduced the
    entropy of each reseed of forge's PRNG (used by forge.random in Node.js)
    from about 256 to about 156 bits.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate wizexclude labels Nov 26, 2026
@renovate
renovate Bot enabled auto-merge (squash) November 26, 2026 00:08
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 renovate wizexclude

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants