dependabot[bot] opened a new pull request, #11987:
URL: https://github.com/apache/nifi/pull/11987

   Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.1 to 
1.4.4.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md";>node-forge's
 changelog</a>.</em></p>
   <blockquote>
   <h2>1.4.4 - 2026-11-22</h2>
   <h3>Security</h3>
   <ul>
   <li><strong>LOW</strong>: RSA multi-prime private keys are read as two-prime 
keys.
   <ul>
   <li><code>pki.privateKeyFromPem()</code> and 
<code>pki.privateKeyFromAsn1()</code> 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.</li>
   <li>Found while reviewing
   <a 
href="https://redirect.github.com/digitalbazaar/forge/issues/1143";>#1143</a>.</li>
   <li>CVE ID: <a href="">CVE-TBD</a></li>
   <li>GHSA ID: <a 
href="https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p";>GHSA-w73w-hhm4-q25p</a></li>
   </ul>
   </li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>[rsa] Reject RSAPrivateKeys with a version other than 0 or with
   otherPrimeInfos. Reported by <a 
href="https://github.com/Jennifer-first";><code>@​Jennifer-first</code></a>
   (<a 
href="https://redirect.github.com/digitalbazaar/forge/issues/1143";>#1143</a>).
   <ul>
   <li><strong>NOTE</strong>: Multi-prime keys, and keys with an invalid 
version, now fail
   to load with &quot;Only two-prime RSAPrivateKey version 0 is supported.&quot;
   instead of loading and then producing invalid signatures and failing
   decryption.</li>
   </ul>
   </li>
   <li>[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 <a 
href="https://github.com/Martomate";><code>@​Martomate</code></a>
   (<a 
href="https://redirect.github.com/digitalbazaar/forge/issues/1120";>#1120</a>). 
From PR
   <a 
href="https://redirect.github.com/digitalbazaar/forge/pull/1150";>#1150</a> by
   <a 
href="https://github.com/ArockiaRajamanickam";><code>@​ArockiaRajamanickam</code></a>.
   <ul>
   <li><strong>NOTE</strong>: 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.</li>
   </ul>
   </li>
   <li>[util] Encode the low byte of characters over 0xff in 
<code>util.encode64()</code>,
   as Node.js does for 'binary' strings, instead of returning invalid base64.
   Input should still be a binary string (use <code>util.encodeUtf8()</code> 
for text).
   Reported in <a 
href="https://redirect.github.com/digitalbazaar/forge/issues/932";>#932</a>.
   Based on PR <a 
href="https://redirect.github.com/digitalbazaar/forge/pull/933";>#933</a> by
   <a href="https://github.com/wklaczynski";><code>@​wklaczynski</code></a>.</li>
   <li>[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 <code>ssh.privateKeyToPutty()</code> 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 <a 
href="https://github.com/yammelvin";><code>@​yammelvin</code></a>
   (<a 
href="https://redirect.github.com/digitalbazaar/forge/issues/952";>#952</a>). 
From PR
   <a href="https://redirect.github.com/digitalbazaar/forge/pull/987";>#987</a> 
by <a href="https://github.com/romeech91";><code>@​romeech91</code></a>.</li>
   <li>[jsbn] Detect Node.js with <code>util.isNodejs</code> instead of a 
missing <code>navigator</code>
   global, which Node.js 21+ defines. jsbn used a browser code path with</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/7437e75874da8b4cffaf19ab0345696b7b2b1f31";><code>7437e75</code></a>
 Release 1.4.4.</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/9458dc4a73650ba653fc128bc6a012b83b3dac7a";><code>9458dc4</code></a>
 Update changelog.</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/d7f01f96d5894438e9bd29c005315bff2a2a85dd";><code>d7f01f9</code></a>
 Use Node.js seed data as raw bytes in the PRNG.</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/9a0a2066461d397d63990e59fcb618cb789a2f38";><code>9a0a206</code></a>
 Update log URL guard tests and add changelog entry.</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/0c94d4a1509332332cc7950f35751d67dc3ab5d5";><code>0c94d4a</code></a>
 Add unit tests for log setup without URL or location.href.</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/69f35188d45ab1207471547e7c98b183df03ddd3";><code>69f3518</code></a>
 Fix log setup crash in environments without URL or location.href</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/5d60a20be12fad16cb091cd959732cc3c62cf53d";><code>5d60a20</code></a>
 &quot;verify&quot; instead of &quot;sign&quot; comment ed25519</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/882af2cbb84695f3e25bcdc15e2615a3321d9b60";><code>882af2c</code></a>
 Add jsbn Node.js digit size test and changelog entry.</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/f36ab9b7be95adf271d6691fab05b168bf2e07cf";><code>f36ab9b</code></a>
 fix: jsbn use util.isNodejs to determine node runtime</li>
   <li><a 
href="https://github.com/digitalbazaar/forge/commit/d22d05660d11567b5dffcf6f49496f75c6bbdbc5";><code>d22d056</code></a>
 Add SSH mpint test and changelog entry.</li>
   <li>Additional commits viewable in <a 
href="https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.4.4";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=node-forge&package-manager=npm_and_yarn&previous-version=1.3.1&new-version=1.4.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/nifi/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to