Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps node-forge from 1.3.1 to 1.3.2.

Changelog

Sourced from node-forge's changelog.

1.3.2 - 2025-11-25

Security

  • HIGH: ASN.1 Validator Desynchronization
    • An Interpretation Conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 structures to desynchronize schema validations, yielding a semantic divergence that may bypass downstream cryptographic verifications and security decisions.
    • Reported by Hunter Wodzenski.
    • CVE ID: CVE-2025-12816
    • GHSA ID: GHSA-5gfm-wpxj-wjgq
  • HIGH: ASN.1 Unbounded Recursion
    • An Uncontrolled Recursion (CWE-674) vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep ASN.1 structures that trigger unbounded recursive parsing. This leads to a Denial-of-Service (DoS) via stack exhaustion when parsing untrusted DER inputs.
    • Reported by Hunter Wodzenski.
    • CVE ID: CVE-2025-66031
    • GHSA ID: GHSA-554w-wpv2-vw27
  • MODERATE: ASN.1 OID Integer Truncation
    • An Integer Overflow (CWE-190) vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 structures containing OIDs with oversized arcs. These arcs may be decoded as smaller, trusted OIDs due to 32-bit bitwise truncation, enabling the bypass of downstream OID-based security decisions.
    • Reported by Hunter Wodzenski.
    • CVE ID: CVE-2025-66030
    • GHSA ID: GHSA-65ch-62r8-g69g

Fixed

  • [asn1] Fix for vulnerability identified by CVE-2025-12816 PKCS#12 MAC verification bypass due to missing macData enforcement and improper asn1.validate routine.
  • [asn1] Add fromDer() max recursion depth check.
    • Add a asn1.maxDepth global configurable maximum depth of 256.
    • Add a asn1.fromDer() per-call maxDepth option.
    • NOTE: The default maximum is assumed to be higher than needed for valid data. If this assumption is false then this could be a breaking change. Please file an issue if there are use cases that need a higher maximum.
    • NOTE: The per-call maxDepth parameter has not been exposed up through all of the API stack due to the complexities involved. Please file an issue if there are use cases that require this instead of changing the default maximum.
  • [asn1] Improve OID handling.
    • Error on parsed OID values larger than 2**32 - 1.
    • Error on DER OID values larger than 2**53 - 1 .
Commits

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.

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

---
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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2025
@sonarqubecloud
Copy link

@github-actions
Copy link

🏁 Benchmark Comparison (Node 22)

Comparing this PR (0e62633) against master (73b6ae6).

✅ No regressions over the 5% threshold detected.

Benchmark Metric PR Branch Master Δ Change
BigNumber Arithmetic mul large numbers 8.97 ms 9.04 ms -0.07 ms -0.77%
BigNumber Arithmetic add large numbers 1.50 ms 1.50 ms +0.00 ms 0.00%
BigNumber Serialization toSm big 3.01 ms 2.98 ms +0.03 ms +1.01%
BigNumber Serialization toSm little 3.07 ms 3.06 ms +0.01 ms +0.33%
BigNumber Serialization fromSm big 3.10 ms 3.09 ms +0.01 ms +0.32%
BigNumber Serialization fromSm little 3.16 ms 3.17 ms -0.01 ms -0.32%
BigNumber Serialization fromScriptNum 3.18 ms 3.21 ms -0.03 ms -0.93%
Script Serialization Big script round trip 3.92 ms 3.99 ms -0.07 ms -1.75%
Transaction Verification deep chain verify 450.49 ms 451.24 ms -0.75 ms -0.17%
Transaction Verification wide transaction verify 462.36 ms 461.54 ms +0.82 ms +0.18%
Transaction Verification large tx verify 229.47 ms 227.98 ms +1.49 ms +0.65%
Transaction Verification nested inputs verify 104.83 ms 105.34 ms -0.51 ms -0.48%
Symmetric Key encrypt large 2MB 1542.07 ms 1542.53 ms -0.46 ms -0.03%
Symmetric Key decrypt large 2MB 1532.16 ms 1542.07 ms -9.91 ms -0.64%
Symmetric Key encrypt 50 small 6.66 ms 6.80 ms -0.14 ms -2.06%
Symmetric Key decrypt 50 small 6.46 ms 6.64 ms -0.18 ms -2.71%
Symmetric Key encrypt 200 medium 161.73 ms 163.11 ms -1.38 ms -0.85%
Symmetric Key decrypt 200 medium 160.86 ms 161.24 ms -0.38 ms -0.24%
Reader & Writer mixed ops 0.23 ms 0.23 ms +0.00 ms 0.00%
Reader & Writer large payloads 28.66 ms 28.65 ms +0.01 ms +0.03%
Reader & Writer 3000 small payloads 1.85 ms 1.94 ms -0.09 ms -4.64%
Reader & Writer 400 medium payloads 15.76 ms 16.11 ms -0.35 ms -2.17%
Atomic BEEF Transaction.toAtomicBEEF 1.54 ms 1.55 ms -0.01 ms -0.65%
Atomic BEEF Transaction.fromAtomicBEEF 3.71 ms 3.72 ms -0.01 ms -0.27%

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