Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 26, 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 26, 2025
@dependabot dependabot bot requested a review from alwx as a code owner November 26, 2025 22:19
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 26, 2025
@dependabot dependabot bot added the javascript Pull requests that update javascript code label Nov 26, 2025
@antonis antonis added the ready-to-merge Triggers the full CI test suite label Nov 27, 2025
@github-actions
Copy link
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 369.13 ms 391.40 ms 22.27 ms
Size 43.94 MiB 48.87 MiB 4.93 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
1e7a472+dirty 319.58 ms 372.29 ms 52.71 ms
c94a927+dirty 411.32 ms 443.18 ms 31.86 ms
ea3e26e+dirty 399.98 ms 448.36 ms 48.38 ms
5ee3314+dirty 358.69 ms 394.00 ms 35.31 ms
8d89cc9+dirty 357.69 ms 415.79 ms 58.10 ms
07808fb+dirty 392.47 ms 451.94 ms 59.47 ms
5c16cdc+dirty 375.45 ms 426.62 ms 51.17 ms
3bd3f0d+dirty 334.38 ms 402.19 ms 67.81 ms
0b64753+dirty 358.55 ms 429.16 ms 70.61 ms
459a438+dirty 359.50 ms 390.53 ms 31.03 ms

App size

Revision Plain With Sentry Diff
1e7a472+dirty 7.15 MiB 8.43 MiB 1.28 MiB
c94a927+dirty 7.15 MiB 8.43 MiB 1.28 MiB
ea3e26e+dirty 43.94 MiB 48.82 MiB 4.88 MiB
5ee3314+dirty 7.15 MiB 8.43 MiB 1.28 MiB
8d89cc9+dirty 7.15 MiB 8.41 MiB 1.26 MiB
07808fb+dirty 7.15 MiB 8.43 MiB 1.28 MiB
5c16cdc+dirty 7.15 MiB 8.41 MiB 1.26 MiB
3bd3f0d+dirty 7.15 MiB 8.43 MiB 1.28 MiB
0b64753+dirty 7.15 MiB 8.42 MiB 1.27 MiB
459a438+dirty 7.15 MiB 8.42 MiB 1.27 MiB

@github-actions
Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 408.37 ms 410.36 ms 1.99 ms
Size 43.75 MiB 48.05 MiB 4.29 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
8d89cc9+dirty 537.83 ms 536.02 ms -1.81 ms
ea3e26e+dirty 498.02 ms 532.90 ms 34.88 ms
7480abe+dirty 411.60 ms 405.81 ms -5.78 ms
d861c16+dirty 336.96 ms 349.14 ms 12.18 ms
20daa0a 359.51 ms 374.90 ms 15.39 ms
8a4ce6f 422.88 ms 408.33 ms -14.55 ms
69602ce 417.47 ms 443.52 ms 26.05 ms
ba75c7c 367.72 ms 369.16 ms 1.44 ms
1226664+dirty 347.45 ms 386.60 ms 39.15 ms
b7aa1aa+dirty 324.73 ms 327.76 ms 3.03 ms

App size

Revision Plain With Sentry Diff
8d89cc9+dirty 17.75 MiB 19.68 MiB 1.94 MiB
ea3e26e+dirty 43.75 MiB 47.99 MiB 4.24 MiB
7480abe+dirty 17.75 MiB 19.68 MiB 1.94 MiB
d861c16+dirty 17.75 MiB 19.70 MiB 1.96 MiB
20daa0a 17.75 MiB 20.15 MiB 2.41 MiB
8a4ce6f 17.75 MiB 19.68 MiB 1.94 MiB
69602ce 17.75 MiB 19.68 MiB 1.94 MiB
ba75c7c 17.75 MiB 20.15 MiB 2.41 MiB
1226664+dirty 17.75 MiB 19.74 MiB 1.99 MiB
b7aa1aa+dirty 17.75 MiB 19.75 MiB 2.00 MiB

@github-actions
Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1210.37 ms 1213.23 ms 2.86 ms
Size 3.41 MiB 4.59 MiB 1.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
88890fe+dirty 1219.00 ms 1222.08 ms 3.08 ms
7be1f99+dirty 1222.43 ms 1217.15 ms -5.28 ms
276d348+dirty 1222.10 ms 1229.02 ms 6.92 ms
93137d1+dirty 1232.69 ms 1245.18 ms 12.49 ms
128ee72+dirty 1204.73 ms 1205.02 ms 0.29 ms
46e3d54+dirty 1213.17 ms 1216.33 ms 3.17 ms
eb07ba3+dirty 1214.49 ms 1221.59 ms 7.10 ms
0b64753+dirty 1225.77 ms 1232.98 ms 7.21 ms
d861c16+dirty 1226.00 ms 1223.35 ms -2.65 ms
49ef936+dirty 1221.27 ms 1221.60 ms 0.34 ms

App size

Revision Plain With Sentry Diff
88890fe+dirty 3.19 MiB 4.57 MiB 1.38 MiB
7be1f99+dirty 3.19 MiB 4.38 MiB 1.19 MiB
276d348+dirty 3.19 MiB 4.54 MiB 1.36 MiB
93137d1+dirty 3.19 MiB 4.55 MiB 1.37 MiB
128ee72+dirty 3.41 MiB 4.58 MiB 1.17 MiB
46e3d54+dirty 3.41 MiB 4.58 MiB 1.17 MiB
eb07ba3+dirty 3.19 MiB 4.38 MiB 1.19 MiB
0b64753+dirty 3.19 MiB 4.55 MiB 1.36 MiB
d861c16+dirty 3.19 MiB 4.56 MiB 1.38 MiB
49ef936+dirty 3.19 MiB 4.54 MiB 1.36 MiB

@github-actions
Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1184.34 ms 1186.33 ms 1.99 ms
Size 3.41 MiB 4.59 MiB 1.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
88890fe+dirty 1219.20 ms 1231.00 ms 11.80 ms
7be1f99+dirty 1226.69 ms 1217.76 ms -8.93 ms
276d348+dirty 1224.22 ms 1227.38 ms 3.16 ms
93137d1+dirty 1230.73 ms 1230.98 ms 0.25 ms
128ee72+dirty 1218.16 ms 1219.18 ms 1.03 ms
46e3d54+dirty 1216.40 ms 1210.47 ms -5.93 ms
eb07ba3+dirty 1222.46 ms 1220.37 ms -2.08 ms
0b64753+dirty 1232.49 ms 1226.96 ms -5.53 ms
d861c16+dirty 1231.94 ms 1242.32 ms 10.38 ms
49ef936+dirty 1228.42 ms 1217.09 ms -11.33 ms

App size

Revision Plain With Sentry Diff
88890fe+dirty 2.63 MiB 4.00 MiB 1.37 MiB
7be1f99+dirty 2.63 MiB 3.81 MiB 1.18 MiB
276d348+dirty 2.63 MiB 3.98 MiB 1.34 MiB
93137d1+dirty 2.63 MiB 3.99 MiB 1.35 MiB
128ee72+dirty 3.41 MiB 4.58 MiB 1.17 MiB
46e3d54+dirty 3.41 MiB 4.58 MiB 1.17 MiB
eb07ba3+dirty 2.63 MiB 3.81 MiB 1.18 MiB
0b64753+dirty 2.63 MiB 3.98 MiB 1.35 MiB
d861c16+dirty 2.63 MiB 4.00 MiB 1.36 MiB
49ef936+dirty 2.63 MiB 3.98 MiB 1.34 MiB

@antonis antonis enabled auto-merge (squash) November 27, 2025 09:14
@antonis antonis merged commit 8ff81c0 into main Nov 27, 2025
115 of 138 checks passed
@antonis antonis deleted the dependabot/npm_and_yarn/node-forge-1.3.2 branch November 27, 2025 09:29
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 ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants