Skip to content

Merge develop into master — correctifs sécurité postcss & brace-expansion - #102

Merged
GaetanOff merged 4 commits into
masterfrom
develop
Aug 3, 2026
Merged

Merge develop into master — correctifs sécurité postcss & brace-expansion#102
GaetanOff merged 4 commits into
masterfrom
develop

Conversation

@GaetanOff

Copy link
Copy Markdown
Owner

Contexte

Remonte sur master les deux correctifs de sécurité mergés dans develop.

Paquet Avis Sévérité Avant → Après PR
postcss GHSA-r28c-9q8g-f849 high 8.5.15 → 8.5.25 #100
brace-expansion GHSA-mh99-v99m-4gvg high 2.1.2 → 2.1.4 #101
  • postcss : path traversal lors de l'auto-chargement de la source map précédente (sourceMappingURL), permettant la divulgation arbitraire de fichiers .map. Correspond à l'alerte Dependabot #245. Corrigé en 8.5.18.
  • brace-expansion : DoS par expansion non bornée provoquant un crash du process par épuisement mémoire. Corrigé en 2.1.3. Cette vulnérabilité n'apparaissait que dans npm audit, pas dans les alertes Dependabot.

Les deux paquets sont en scope development (transitifs) — aucun impact sur le bundle livré.

Changements

Uniquement package.json et package-lock.json (12 insertions, 12 suppressions) :

  • overrides.postcss : ^8.5.10^8.5.18
  • overrides.brace-expansion : ^2.1.2^2.1.3
  • lockfile : postcss 8.5.15 → 8.5.25, nanoid 3.3.15 → 3.3.17 (requis par postcss 8.5.25), brace-expansion 2.1.2 → 2.1.4

Aucun changement de code applicatif.

Vérification

🤖 Generated with Claude Code

GaetanOff and others added 4 commits August 3, 2026 14:09
GHSA-r28c-9q8g-f849 (high): PostCSS path traversal in previous source
map auto-loading (sourceMappingURL) leads to arbitrary .map file
disclosure. Affects <= 8.5.17.

Raise the existing `postcss` override from ^8.5.10 to ^8.5.18, and pin
the lockfile to postcss 8.5.25 (which requires nanoid ^3.3.16, so nanoid
moves 3.3.15 -> 3.3.17).

The lockfile is edited in place rather than regenerated: running
`npm install` on Windows prunes the Linux-only optional entries
@emnapi/core and @emnapi/runtime, which breaks `npm ci` in CI.

Verified with `npm ci` and a production build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
fix(deps): bump postcss to >=8.5.18 (Dependabot alert #245)
GHSA-mh99-v99m-4gvg (high): DoS via unbounded expansion length causing
an out-of-memory process crash. The 2.x line is patched in 2.1.3.

Raise the existing `brace-expansion` override from ^2.1.2 to ^2.1.3, and
move the lockfile from 2.1.2 to 2.1.4 (dev-only transitive, pulled in via
minimatch). Dependencies are unchanged (balanced-match ^1.0.0).

The lockfile is edited in place rather than regenerated: running
`npm install` on Windows prunes the Linux-only optional entries
@emnapi/core and @emnapi/runtime, which breaks `npm ci` in CI.

Verified with `npm ci` (`found 0 vulnerabilities`) and a production build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@GaetanOff
GaetanOff merged commit 92d7886 into master Aug 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant