Vulnérabilité dans body-parser (CVE-2026-12590)
Résumé
vulnérabilité dans body-parser (CVE-2026-12590). Risque d'opérations non autorisées ou de divulgation. Exploitable via ``limit``. Atténuation : mise à jour vers `2.3.0` ou plus.
Résumé IA snake-internal / snake-material-v2
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'body-parser' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `body-parser` を grep し、稼働しているサービス・バージョンを把握する。
-
5Apply temporary workaround mitigate
Validate `limit` before passing it to body-parser.パッチが適用されるまでの応急処置として、Validate `limit` before passing it to body-parser. を実施。回避策の副作用 (機能低下) を確認した上で。
-
6Apply patch patch
Upgrade body-parser to 2.3.0ステージング環境で 2.3.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- web https://cna.openjsf.org/security-advisories.html
- web https://github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6
- web https://nvd.nist.gov/vuln/detail/CVE-2026-12590
- web https://github.com/expressjs/body-parser/pull/698
- web https://github.com/expressjs/body-parser/pull/741
- web https://github.com/expressjs/body-parser/commit/2322e111cc321413ec2b7b76d01be533d3de9d7d
- web https://github.com/expressjs/body-parser/commit/3492672eee593d5c158f239b6e9115498a5dbeac
- web https://github.com/expressjs/body-parser/releases/tag/1.20.6
- web https://github.com/expressjs/body-parser/releases/tag/v2.3.0
- web https://github.com/advisories/GHSA-v422-hmwv-36x6