← Retour
CVE-2019-8331
XSS (Cross-Site Scripting) dans bootstrap (CVE-2019-8331)
Résumé
XSS dans bootstrap (CVE-2019-8331). Risque d'opérations non autorisées ou de divulgation. Exploitable via ``bootstrap``. Atténuation : mise à jour vers `4.3.1` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **CVE-2019-8331** a été découverte dans bootstrap.
Des attaquants peuvent cibler un point d'entrée spécifique comme ``bootstrap`` à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : ?/10.
Action : mettez à jour bootstrap vers **4.3.1** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « bootstrap CVE-2019-8331 » sur le site de l'éditeur.
CVE-2019-8331 (bootstrap) — CWE-79 /
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : `bootstrap`
Correctif : `4.3.1` — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
❓ Quel est le problème
Une **XSS** (CWE-79) affecte bootstrap. Les attaquants atteignent le code vulnérable via ``bootstrap`` sans authentification.
📍 Périmètre concerné
bootstrap — . Surface d'attaque : `bootstrap`.
🔥 Gravité
Gravité : ?. Risque d'opérations non autorisées ou de divulgation
🔧 Comment corriger
Mettre à jour vers **4.3.1**.
🛡️ Contournement
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
🔍 Détection
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
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 'bootstrap' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `bootstrap` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade bootstrap to 4.3.1ステージング環境で 4.3.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
rubygems
bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1"}]}]
rubygems
bootstrap-sass
[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.4.1"}]}]
nuget
Bootstrap.Less
[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.4.1"}]}]
nuget
bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.4.1"}]}]
nuget
bootstrap.sass
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1"}]}]
npm
bootstrap
[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.4.1"}]}]
npm
bootstrap-sass
[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.4.1"}]}]
maven
org.webjars:bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.3.1"}]}]
composer
twbs/bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1"}]}]
rubygems
twitter-bootstrap-rails
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.0"}]}]
Packagist
twbs/bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.3.1"}]}]
Références
- advisory https://nvd.nist.gov/vuln/detail/CVE-2019-8331
- advisory https://github.com/advisories/GHSA-9v3m-8fp8-mj99
- package https://github.com/twbs/bootstrap
- web https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-8331
- web https://github.com/twbs/bootstrap/pull/28236
- web https://access.redhat.com/errata/RHSA-2019:1456
- web https://access.redhat.com/errata/RHSA-2019:3023
- web https://access.redhat.com/errata/RHSA-2019:3024
- web https://github.com/twbs/bootstrap/releases/tag/v3.4.1
- web https://github.com/twbs/bootstrap/releases/tag/v4.3.1
- web https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731@%3Cdev.flink.apache.org%3E
- web https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49@%3Cuser.flink.apache.org%3E
- web https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2@%3Cuser.flink.apache.org%3E
- web https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E
- web https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854@%3Cuser.flink.apache.org%3E
- web https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- web https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E
- web https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- web https://seclists.org/bugtraq/2019/May/18
- web https://support.f5.com/csp/article/K24383845
- web https://support.f5.com/csp/article/K24383845?utm_source=f5support&utm_medium=RSS
- web https://www.oracle.com/security-alerts/cpuApr2021.html
- web http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
- web http://seclists.org/fulldisclosure/2019/May/10
- web http://seclists.org/fulldisclosure/2019/May/11
- web http://seclists.org/fulldisclosure/2019/May/13
- web https://www.tenable.com/security/tns-2021-14
- web https://web.archive.org/web/20200227083900/http://www.securityfocus.com/bid/107375
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2019-8331.yml
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/twitter-bootstrap-rails/CVE-2019-8331.yml
- web https://github.com/seyhunak/twitter-bootstrap-rails/tree/master/app/assets/javascripts/twitter/bootstrap
- web https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E
- web https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E
- web https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E
- web https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E
- web https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E
- web https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
- web https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E
- web https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- web https://support.f5.com/csp/article/K24383845?utm_source=f5support&%3Butm_medium=RSS
- web https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1