fix(deps): patch urllib3 and Next.js advisories (#3896)

## Description

Patch two independent dependency advisories that currently fail the
repository security gates:

- `urllib3` 2.7.0 -> 2.8.0 in `uv.lock` (three CVEs affecting HTTPS
proxy TLS handling and streaming/chunk parsing).
- Documentation site `next` 16.3.5 -> 16.3.8 in `docs/package.json` and
its lockfile (critical `next/og` ImageResponse advisory).

## Type of Change

- [x] Bug fix (security dependency update)
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring

## Changes Made

- Updated only the locked `urllib3` package metadata and hashes.
- Updated the docs package's Next.js declaration and lockfile
resolution.
- No application source, runtime behavior, or unrelated dependency was
changed.

## Testing

- [ ] Unit tests pass (`pytest`) — dependency-only change.
- [ ] Linting passes (`ruff check .`) — no Python source changed.
- [ ] Type checking passes (`mypy headroom`) — no Python source changed.
- [ ] New tests added — no new behavior.
- [x] Security and lockfile validation performed.

### Test Output

```text
$ cd docs && npm audit --audit-level=low
found 0 vulnerabilities

$ cd docs && npm ci --ignore-scripts --dry-run --no-audit --no-fund
completed successfully; next 16.3.8 resolved

$ uv export --frozen --no-emit-project -o /tmp/security-reqs.txt
$ uvx pip-audit -r /tmp/security-reqs.txt
No known vulnerabilities found
```

## Real Behavior Proof

- Environment: macOS arm64, Node 25.9.0, npm 11.12.1, CPython 3.12.14;
clean branch from current `main`.
- Exact command / steps: run `cd docs && npm audit --audit-level=low`;
export the frozen Python lock with `uv export --frozen
--no-emit-project`; run `uvx pip-audit -r` on that export; run `npm ci
--ignore-scripts --dry-run --no-audit --no-fund` in `docs`.
- Observed result: npm reports zero vulnerabilities; pip-audit reports
no known vulnerabilities; npm dry-run resolves Next 16.3.8 successfully.
- Not tested: full application test suites and production deploys; no
application source changed.

## Runtime Rollout Safety

- Rollout-managed feature(s): None.
- Minimum rollout channel: Normal dependency release.
- Stable/default behavior changed: Security patches only; Next.js
receives a patch-version update.
- Kill switch / disable path: Revert this dependency PR.
- Unsafe override required: No.
- Qualification impact: Dependency audit and lockfile installation
gates.
- Rollback path: Revert this PR.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My changes follow the project's style and lockfile conventions
- [x] I performed a self-review
- [x] No application source changed
- [x] I did not edit `CHANGELOG.md`

## Screenshots (if applicable)

Not applicable.
This commit is contained in:
charlieanna
2026-09-30 20:29:18 -05:00
committed by GitHub
parent 0a2c80d520
commit 573e385f12
3 changed files with 44 additions and 44 deletions
+40 -40
View File
@@ -19,7 +19,7 @@
"fumadocs-typescript": "^5.4.1",
"fumadocs-ui": "16.15.12",
"lucide-react": "^1.7.0",
"next": "16.3.5",
"next": "^16.3.8",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"recharts": "^3.10.1",
@@ -1347,15 +1347,15 @@
}
},
"node_modules/@next/env": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/env/-/env-16.3.5.tgz",
"integrity": "sha512-NWEXVDMqoEo0ktmU6u0sE2Vg0LOcsD7NnOTJNo3/fEaTfsg+F1bMIxuDmQbda4e3yTIQwVdUREF2yIuMOusKtg==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/env/-/env-16.3.8.tgz",
"integrity": "sha512-Al9zqHVV7TJv0eFuOU4U7Lvv74PTih4Ch63sk2xCIpSTkE3udFnaOcnzP2lQVymiL7yS9Cj2iClUXlR3EQ5sEw==",
"license": "MIT"
},
"node_modules/@next/swc-darwin-arm64": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.3.5.tgz",
"integrity": "sha512-pMmGgETfKvElucLHtVaeiMRbp2zUbvKx7b1yGko0liBz3cw1mKSggWN/Rp/wPz8z+E1O82u3r4L1Co+ZS5hokQ==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.3.8.tgz",
"integrity": "sha512-2JPRMh2nmQG5CiL7cXGL9AGwnPWJQ//cTtAUCT+w511QHk79SYz3LGv/pc5X643B/WEO0rvu3Yww0hqwt3kgeA==",
"cpu": [
"arm64"
],
@@ -1369,9 +1369,9 @@
}
},
"node_modules/@next/swc-darwin-x64": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.3.5.tgz",
"integrity": "sha512-76VaGYvf6HPa5/w12yLkE3dXTn9AfdEviI79oEL3aZoAmRLc9rWitjWqyjViVysK/ht/y9YKzFkBrUdi/wGkow==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.3.8.tgz",
"integrity": "sha512-GZtCCOBKJ4leVIT/Th0llWKhD1ca92lzbQiS5R5ON9QkoiFnilFsebDae1JU2a3HWoKMEmEZWGs1AGLavVM72Q==",
"cpu": [
"x64"
],
@@ -1385,9 +1385,9 @@
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.3.5.tgz",
"integrity": "sha512-zKDELJ5jSQMHeO/hmXUQsAzagX4bQD4OiMi3pQ5FbUj+yK506oLVHnKA2YXMlbg1EHHqJYtyePOgByIDXD1lqw==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.3.8.tgz",
"integrity": "sha512-O659ygeQYqneJ1fBKMpFxIFqYkYswu8IAS1OCKK/4f3ZgJJm1dRz4fVJZRi/kLLWjnBKnebOePA4WNv+sV1pVA==",
"cpu": [
"arm64"
],
@@ -1404,9 +1404,9 @@
}
},
"node_modules/@next/swc-linux-arm64-musl": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.3.5.tgz",
"integrity": "sha512-7Vql0pgzCoHagv6+FNOZoqmJqA52c6zeVbhtS/47qFozO1MSx4ms7x7GHiciY8R5CDsSMKMQjJEryoJLcsBIbA==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.3.8.tgz",
"integrity": "sha512-dSjKSyWpzxoO1d3DIZZcP4XJcNaKeLmxQMFOiYl5vuBRMmweIqnAhty8tAmRsvTss779cK1FtYnDMj40e4TQlg==",
"cpu": [
"arm64"
],
@@ -1423,9 +1423,9 @@
}
},
"node_modules/@next/swc-linux-x64-gnu": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.3.5.tgz",
"integrity": "sha512-NH/xzehyHEFWE2nlcZon7TB/0+H4shfWCi7S1zka815XCOhJDYZhoeJtOYy0dh0WVRWACVXSyGNFFytoMxUhRg==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.3.8.tgz",
"integrity": "sha512-lbqOuz3RPRcv+o9msNsJw5x4+Y1ZwPTs6vmL6DCf7i0fZfvng/F59wyeDwqHIvV0mK//RBy/jJkZ+nCKsSMXjQ==",
"cpu": [
"x64"
],
@@ -1442,9 +1442,9 @@
}
},
"node_modules/@next/swc-linux-x64-musl": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.3.5.tgz",
"integrity": "sha512-lV4+EhWMfS8jcC+EH2nn/Cm5cn6XsgbE07bU9tMH8fCo0tNAqhyzi1b5wQ/Tn6NGFTvKDY65w3ZH95EjwBRAnQ==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.3.8.tgz",
"integrity": "sha512-+316WswI8ScVgZeUd+1KGaXkHhaYQzCjvH/05TZSpJ8zBizb1a4G7DtO7F12jcBIqMOtsz9ji1t48fmKtzqsGA==",
"cpu": [
"x64"
],
@@ -1461,9 +1461,9 @@
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.3.5.tgz",
"integrity": "sha512-/wKzAREX2RF++MhicjDbg8tGn2AiBIM0+EFeTFKoUEUbW5D6amCJehd5Z5G1H5/gxNdgnwoXMcHz24H/c2tGkQ==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.3.8.tgz",
"integrity": "sha512-ji0gd4kMYUxO+1fJBIbiBVRCjzG/lloiyCccnlebvb1ZJ5qXCPZqYg4Jl1DrrixnWNMKylzgpmMWx0yNDYXlzw==",
"cpu": [
"arm64"
],
@@ -1477,9 +1477,9 @@
}
},
"node_modules/@next/swc-win32-x64-msvc": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.3.5.tgz",
"integrity": "sha512-LNdCHzgLFc+UeqMS84LzXPaeBRKyqDN9OMyFAr1OrB0XrNw78IRrEVtZvvA7245W/HsaoeVOQX9jPjPk8jojwA==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.3.8.tgz",
"integrity": "sha512-WcTlaKt/TWkh5kUjdJcUmB1XgZ+1c6fz4Y9fDHL73YNSdGaUWjceeWrrlwF0nv19iABYWC4iAq1oX1w4Bn0vfg==",
"cpu": [
"x64"
],
@@ -5968,12 +5968,12 @@
}
},
"node_modules/next": {
"version": "16.3.5",
"resolved": "https://registry.npmjs.org/next/-/next-16.3.5.tgz",
"integrity": "sha512-MdtsTgzyfCPRLC6uJ1mN8ao7lyJ4BB0U6Inhnx3gta1UcCIdHK3yxLG0E8OWQteWD8/Q0qb8A5o7wJaL8M9y2w==",
"version": "16.3.8",
"resolved": "https://registry.npmjs.org/next/-/next-16.3.8.tgz",
"integrity": "sha512-U7QEZaTini6wKrb8A8hqLLqYQyCetegKjCpJOyxk642vWoMoU1x5PyZCJFvgYgiptA8xc5j/9xYlZFO7w9Sjmw==",
"license": "MIT",
"dependencies": {
"@next/env": "16.3.5",
"@next/env": "16.3.8",
"@swc/helpers": "0.5.23",
"baseline-browser-mapping": "^2.9.19",
"caniuse-lite": "^1.0.30001579",
@@ -5987,14 +5987,14 @@
"node": ">=20.9.0"
},
"optionalDependencies": {
"@next/swc-darwin-arm64": "16.3.5",
"@next/swc-darwin-x64": "16.3.5",
"@next/swc-linux-arm64-gnu": "16.3.5",
"@next/swc-linux-arm64-musl": "16.3.5",
"@next/swc-linux-x64-gnu": "16.3.5",
"@next/swc-linux-x64-musl": "16.3.5",
"@next/swc-win32-arm64-msvc": "16.3.5",
"@next/swc-win32-x64-msvc": "16.3.5",
"@next/swc-darwin-arm64": "16.3.8",
"@next/swc-darwin-x64": "16.3.8",
"@next/swc-linux-arm64-gnu": "16.3.8",
"@next/swc-linux-arm64-musl": "16.3.8",
"@next/swc-linux-x64-gnu": "16.3.8",
"@next/swc-linux-x64-musl": "16.3.8",
"@next/swc-win32-arm64-msvc": "16.3.8",
"@next/swc-win32-x64-msvc": "16.3.8",
"sharp": "^0.35.4"
},
"peerDependencies": {
+1 -1
View File
@@ -23,7 +23,7 @@
"fumadocs-typescript": "^5.4.1",
"fumadocs-ui": "16.15.12",
"lucide-react": "^1.7.0",
"next": "16.3.5",
"next": "^16.3.8",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"recharts": "^3.10.1",
Generated
+3 -3
View File
@@ -7350,11 +7350,11 @@ wheels = [
[[package]]
name = "urllib3"
version = "2.7.0"
version = "2.8.0"
source = { registry = "https://pypi.org/simple/" }
sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }
sdist = { url = "https://files.pythonhosted.org/packages/e3/05/b17359e1cefb4f909b5e40b1b90a496d987258916dbbf88e842c729f510e/urllib3-2.8.0.tar.gz", hash = "sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63", size = 458972, upload-time = "2026-09-15T19:29:36.253Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
{ url = "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", hash = "sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3", size = 135717, upload-time = "2026-09-15T19:29:34.577Z" },
]
[[package]]