Skip to content

chore(deps): update dependency node-forge to v1.4.4 - #3855

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

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

Conversation

@renovate

@renovate renovate Bot commented Nov 30, 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

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 any time (no schedule defined)
  • 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 was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c1d6859e-eee2-4574-903e-f70d4a641efb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednode-forge@​1.4.3 ⏵ 1.4.4100 +110010094 +190

View full report

@coveralls-official

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — renovate/node-forge-1.x-lockfile into master

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants