@lenne.tech/nest-server 11.46.9 → 11.46.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Migration Guide: 11.46.9 → 11.46.10
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
| Category | Details |
|
|
6
|
+
|---|---|
|
|
7
|
+
| **Breaking Changes** | None |
|
|
8
|
+
| **New Features** | None |
|
|
9
|
+
| **Bugfixes** | None |
|
|
10
|
+
| **Security** | undici 7.30.5 (13 advisories of 2026-12-04 on 7.30.2, seven high) and nodemailer 10.6.3 (GHSA-w5r8-mmxv-957g) (§1) |
|
|
11
|
+
| **Migration Effort** | Update the package. A project that installs with `--frozen-lockfile` before 2026-12-05 13:05 UTC adds one `minimumReleaseAgeExclude` entry (§1) |
|
|
12
|
+
|
|
13
|
+
## Quick Migration
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm add @lenne.tech/nest-server@11.46.10
|
|
17
|
+
pnpm run update # nest-server-starter based projects
|
|
18
|
+
pnpm audit
|
|
19
|
+
pnpm run build
|
|
20
|
+
pnpm test
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Vendor mode**: run `/lt-dev:backend:update-nest-server-core` with `--target 11.46.10` as usual, then raise the
|
|
24
|
+
project's own `undici` to 7.30.5 and `nodemailer` to 10.6.3: in vendor mode they are the project's dependencies.
|
|
25
|
+
|
|
26
|
+
## 1. Security: undici 7.30.5 and nodemailer 10.6.3
|
|
27
|
+
|
|
28
|
+
nodejs/undici published 13 advisories for the 7.x line on 2026-12-04; all of them cover the 7.30.2 that 11.46.9
|
|
29
|
+
ships, seven are high, and all are fixed in 7.30.4 (7.30.5 adds only a RISC-V build fix). Among them:
|
|
30
|
+
|
|
31
|
+
- **GHSA-fgj4-8x8v-fqhm** (high): the redirect interceptor verified a cross-origin redirect target's certificate
|
|
32
|
+
against the first host's name.
|
|
33
|
+
- **GHSA-h5rf-4xrf-76mc** (high): an assertion in the HTTP/1.1 response parser ends the process from `request()`
|
|
34
|
+
and `fetch()`.
|
|
35
|
+
|
|
36
|
+
The framework uses undici for `outboundFetch()`, the guarded fetch for URLs users enter (webhooks, export targets).
|
|
37
|
+
nodemailer 10.6.3 closes **GHSA-w5r8-mmxv-957g** (moderate: `attachDataUrls` leaks inline images into later
|
|
38
|
+
messages). Both are repository advisories that GitHub's global database does not list yet, so `pnpm audit` does not
|
|
39
|
+
report them. A project that overrides undici itself (an entry such as `'undici@>=7.0.0 <7.30.2': '7.30.2'`) raises
|
|
40
|
+
key and target to 7.30.5; otherwise the entry holds its other undici consumers on the vulnerable version.
|
|
41
|
+
|
|
42
|
+
**undici 7.30.5 is younger than pnpm's default release-age window (24 hours) until 2026-12-05 13:05 UTC.** An
|
|
43
|
+
install that resolves anew warns and continues; an install with `--frozen-lockfile` (CI, Docker) refuses it until
|
|
44
|
+
then. Add the exact version to `pnpm-workspace.yaml` and remove the entry after that time:
|
|
45
|
+
|
|
46
|
+
```yaml
|
|
47
|
+
minimumReleaseAgeExclude:
|
|
48
|
+
- 'undici@7.30.5' # nest-server 11.46.10, undici advisories of 2026-12-04; remove after 2026-12-05 13:05 UTC
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Troubleshooting
|
|
52
|
+
|
|
53
|
+
| Symptom | Cause | Fix |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| `ERR_PNPM_NO_MATURE_MATCHING_VERSION` for `undici@7.30.5` | `--frozen-lockfile` install inside the 24-hour window (§1) | `minimumReleaseAgeExclude: ['undici@7.30.5']`, removed after 2026-12-05 13:05 UTC |
|
|
56
|
+
| `pnpm why undici` lists 7.30.2 next to 7.30.5 | a project override still targets 7.30.2 (§1) | raise its key and target to 7.30.5 |
|
|
57
|
+
|
|
58
|
+
## Module Documentation
|
|
59
|
+
|
|
60
|
+
- [undici security advisories](https://github.com/nodejs/undici/security/advisories)
|
|
61
|
+
- [GHSA-w5r8-mmxv-957g](https://github.com/nodemailer/nodemailer/security/advisories/GHSA-w5r8-mmxv-957g)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/nest-server",
|
|
3
|
-
"version": "11.46.
|
|
3
|
+
"version": "11.46.10",
|
|
4
4
|
"description": "Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"mongoose": "9.12.3",
|
|
133
133
|
"multer": "2.5.0",
|
|
134
134
|
"node-mailjet": "6.0.11",
|
|
135
|
-
"nodemailer": "10.
|
|
135
|
+
"nodemailer": "10.6.3",
|
|
136
136
|
"object-path": "0.11.8",
|
|
137
137
|
"passport": "0.7.0",
|
|
138
138
|
"passport-jwt": "4.0.1",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"rxjs": "7.8.2",
|
|
142
142
|
"supertest": "7.3.1",
|
|
143
143
|
"ts-morph": "28.0.0",
|
|
144
|
-
"undici": "7.30.
|
|
144
|
+
"undici": "7.30.5",
|
|
145
145
|
"ws": "8.23.0",
|
|
146
146
|
"yuml-diagram": "1.2.0"
|
|
147
147
|
},
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"oxfmt": "0.73.0",
|
|
221
221
|
"oxlint": "1.88.0",
|
|
222
222
|
"rimraf": "6.1.4",
|
|
223
|
-
"smtp-server": "3.21.
|
|
223
|
+
"smtp-server": "3.21.9",
|
|
224
224
|
"ts-node": "10.9.2",
|
|
225
225
|
"tsconfig-paths": "4.2.0",
|
|
226
226
|
"tsx": "4.23.15",
|