Skip to content

chore(security): bump jsdom>undici override 7.28 → ^7.29.0 (5 CVE) - #483

Merged
bmatge merged 2 commits into
mainfrom
fix/security-undici-jsdom-transitive
Aug 19, 2026
Merged

chore(security): bump jsdom>undici override 7.28 → ^7.29.0 (5 CVE)#483
bmatge merged 2 commits into
mainfrom
fix/security-undici-jsdom-transitive

Conversation

@bmatge

@bmatge bmatge commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Ferme les 5 alertes Dependabot ouvertes

Toutes sur undici transitif via jsdom (l'override root existant forçait undici@7.28.0, exactement la version vulnérable) :

# Sévérité Titre
81 moderate undici vulnerable to downstream response desynchronization via retry interceptor
83 high undici vulnerable to cross-user info disclosure + parse-time crash via private cache directives
85 moderate undici vulnerable to cross-user info disclosure via whitespace in Cache-Control
87 moderate undici vulnerable to cookie attribute injection via unsanitized domain
89 moderate undici vulnerable to CRLF Injection via blob-like body 'type' property

Contexte

L'override jsdom > undici a été introduit en PR #343 (juin) pour patcher un lot d'advisories HIGH précédent — même pattern ici, on bump juste vers la version fixed (7.29.0 est le dernier 7.x, undici@8.x ne convient pas à jsdom en ^7.x).

undici@8.10.0 direct (racine, ligne 86 du package.json) reste tel quel — non affecté par ces CVE.

Bonus

npm audit fix remonte brace-expansion@5.0.85.0.9 (advisory GHSA-rgw5-rvv9-x895, high — DoS via unbounded intermediate arrays, bypass de CVE-2026-14257).

Test plan

  • npm audit --audit-level=high : 0 vulnérabilités (avant : 5 moderate/high dans le rapport de recette du 19/08)
  • Lockfile : jsdom/node_modules/undici@7.29.0 + brace-expansion@5.0.9
  • CI verte (Vitest / Playwright / SAST / SCA)
  • Après merge : re-vérifier gh api repos/bmatge/dsfr-data/dependabot/alerts --paginate --jq '.[] | select(.state == "open")' → devrait être vide

Refs

🤖 Generated with Claude Code

Ferme les 5 alertes Dependabot ouvertes sur bmatge/dsfr-data
(GHSA #81, #83, #85, #87, #89, toutes sur undici 7.0.0–7.28.0) :

- CRLF Injection via blob-like body 'type' (moderate)
- cookie attribute injection via unsanitized domain (moderate)
- cross-user info disclosure via whitespace in Cache-Control (moderate)
- cross-user info disclosure + parse-time crash via private cache directives (high)
- downstream response desynchronization via retry interceptor (moderate)

L'override root a été introduit en #343 (juin) pour patcher un lot HIGH
précédent — même pattern ici, on bump juste vers la version fixed.
undici@8.10.0 direct (racine) reste tel quel (non affecté par ces CVE).

Bonus : `npm audit fix` remonte brace-expansion@5.0.8 → 5.0.9
(GHSA-rgw5-rvv9-x895, high, DoS via unbounded intermediate arrays).

`npm audit --audit-level=high` : 0 vulnerabilities.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bmatge bmatge added the bug Something isn't working label Aug 19, 2026
Format non-conforme laissé par la refonte builder-carto (#472) :
union type pipé sur 4 lignes → single-line (règle prettier 3.9.6).
Le pre-commit hook n'écrit que sur les fichiers modifiés dans le
commit, ce bout de fichier n'ayant pas été retouché depuis, il
passait sous le radar. La CI `format:check` scanne tout et bloque.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bmatge
bmatge merged commit e0df66b into main Aug 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant