Skip to content

build(deps): bump node-forge from 1.3.1 to 1.4.0 in /docs - #314

Merged
glennko merged 1 commit into
mainfrom
dependabot/npm_and_yarn/docs/node-forge-1.3.2
Sep 3, 2026
Merged

build(deps): bump node-forge from 1.3.1 to 1.4.0 in /docs#314
glennko merged 1 commit into
mainfrom
dependabot/npm_and_yarn/docs/node-forge-1.3.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2025

Copy link
Copy Markdown
Contributor

Bumps node-forge from 1.3.1 to 1.4.0.

Changelog

Sourced from node-forge's changelog.

1.4.0 - 2026-03-24

Security

  • HIGH: Denial of Service in BigInteger.modInverse()
    • A Denial of Service (DoS) vulnerability exists due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library). When modInverse() is called with a zero value as input, the internal Extended Euclidean Algorithm enters an unreachable exit condition, causing the process to hang indefinitely and consume 100% CPU.
    • Reported by Kr0emer.
    • CVE ID: CVE-2026-33891
    • GHSA ID: GHSA-5gfm-wpxj-wjgq
  • HIGH: Signature forgery in RSA-PKCS due to ASN.1 extra field.
    • RSASSA PKCS#1 v1.5 signature verification accepts forged signatures for low public exponent keys (e=3). Attackers can forge signatures by stuffing "garbage" bytes within the ASN.1 structure in order to construct a signature that passes verification, enabling Bleichenbacher style forgery. This issue is similar to CVE-2022-24771, but adds bytes in an addition field within the ASN.1 structure, rather than outside of it.
    • Additionally, forge does not validate that signatures include a minimum of 8 bytes of padding as defined by the specification, providing attackers additional space to construct Bleichenbacher forgeries.
    • Reported as part of a U.C. Berkeley security research project by:
      • Austin Chu, Sohee Kim, and Corban Villa.
    • CVE ID: CVE-2026-33894
    • GHSA ID: GHSA-ppp5-5v6c-4jwp
  • HIGH: Signature forgery in Ed25519 due to missing S < L check.
    • Ed25519 signature verification accepts forged non-canonical signatures where the scalar S is not reduced modulo the group order (S >= L). A valid signature and its S + L variant both verify in forge, while Node.js crypto.verify (OpenSSL-backed) rejects the S + L variant, as defined by the specification. This class of signature malleability has been exploited in practice to bypass authentication and authorization logic (see CVE-2026-25793, CVE-2022-35961). Applications relying on signature uniqueness (i.e., dedup by signature bytes, replay tracking, signed-object canonicalization checks) may be bypassed.
    • Reported as part of a U.C. Berkeley security research project by:
      • Austin Chu, Sohee Kim, and Corban Villa.
    • CVE ID: CVE-2026-33895
    • GHSA ID: GHSA-q67f-28xg-22rw
  • HIGH: basicConstraints bypass in certificate chain verification.
    • pki.verifyCertificateChain() does not enforce RFC 5280 basicConstraints requirements when an intermediate certificate lacks both the basicConstraints and keyUsage extensions. This allows any leaf certificate (without these extensions) to act as a CA and sign other certificates, which node-forge will accept as valid.
    • Reported by Doruk Tan Ozturk (@​peaktwilight) - doruk.ch
    • CVE ID: CVE-2026-33896
    • GHSA ID: GHSA-2328-f5f3-gj25

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 27, 2025
@glennko

glennko commented Aug 29, 2026

Copy link
Copy Markdown
Member

Superseded by #342 (leaving open until that merges).

This PR bumps node-forge to 1.3.2, which clears CVE-2025-12816, CVE-2025-66031 and CVE-2025-66030 — but four HIGH advisories opened since (CVE-2026-33891/33894/33895/33896) require 1.4.0, so merging this would leave them open.

In #342's refreshed lockfile node-forge is dropped from the tree entirely, resolving all seven.

@glennko

glennko commented Sep 3, 2026

Copy link
Copy Markdown
Member

@dependabot recreate

Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.1 to 1.4.0.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.1...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump node-forge from 1.3.1 to 1.3.2 in /docs build(deps): bump node-forge from 1.3.1 to 1.4.0 in /docs Sep 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/docs/node-forge-1.3.2 branch from 0bd3fb0 to 5d0d9c0 Compare September 3, 2026 02:57

@glennko glennko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lockfile-only dependency bump; CI green.

@glennko
glennko merged commit ea20f6b into main Sep 3, 2026
4 checks passed
@glennko
glennko deleted the dependabot/npm_and_yarn/docs/node-forge-1.3.2 branch September 3, 2026 03:00
glennko added a commit that referenced this pull request Sep 3, 2026
Single `npm audit fix --package-lock-only` pass on the docs site.
package.json is untouched -- no declared range changes, only the
resolved tree.

Regenerated against current main, which now carries the merged
dependabot bumps (#347, #346, #332, #326, #314, #352, #351, #349,
#348). Those bumps did not reach either critical, and dependabot
never proposed a fix for websocket-driver at all.

           before  after
critical        2      0
high           27     18
moderate       14      8
low             5      0
total          48     26

Both criticals cleared:
- shell-quote     1.8.3 -> 1.10.0  (CVE-2026-9277)
- websocket-driver 0.7.4 -> 0.7.5  (CVE-2026-54466)

Also lodash 4.17.23 -> 4.18.1 and node-forge dropped from the tree.

The remaining 26 sit inside the Docusaurus dependency tree --
image-size, serialize-javascript, and the webpack-dev-server ->
sockjs -> uuid chain. Most report no non-breaking fix and would need
a Docusaurus major upgrade. The dev-server chain affects
`docusaurus start`, not `docusaurus build`.

`npm audit fix --force` was deliberately not used -- it would churn
the Docusaurus major version and risk the docs build, for issues that
are dev-time only.
glennko added a commit that referenced this pull request Sep 3, 2026
…342)

Single `npm audit fix --package-lock-only` pass on the docs site.
package.json is untouched -- no declared range changes, only the
resolved tree.

Regenerated against current main, which now carries the merged
dependabot bumps (#347, #346, #332, #326, #314, #352, #351, #349,
#348). Those bumps did not reach either critical, and dependabot
never proposed a fix for websocket-driver at all.

           before  after
critical        2      0
high           27     18
moderate       14      8
low             5      0
total          48     26

Both criticals cleared:
- shell-quote     1.8.3 -> 1.10.0  (CVE-2026-9277)
- websocket-driver 0.7.4 -> 0.7.5  (CVE-2026-54466)

Also lodash 4.17.23 -> 4.18.1 and node-forge dropped from the tree.

The remaining 26 sit inside the Docusaurus dependency tree --
image-size, serialize-javascript, and the webpack-dev-server ->
sockjs -> uuid chain. Most report no non-breaking fix and would need
a Docusaurus major upgrade. The dev-server chain affects
`docusaurus start`, not `docusaurus build`.

`npm audit fix --force` was deliberately not used -- it would churn
the Docusaurus major version and risk the docs build, for issues that
are dev-time only.

Co-authored-by: Glenn Ko <glennko@users.noreply.github.com>
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.

1 participant