CVE-2019-10842
CRITICAL 9.8CVSS 3.0Bootstrap-sass contains code execution backdoor
Arbitrary code execution (via backdoor code) was discovered in bootstrap-sass 3.2.0.3, when downloaded from rubygems.org. An unauthenticated attacker can craft the ___cfduid cookie value with base64 arbitrary code to be executed via eval(), which can be leveraged to execute arbitrary code on the target system. Note that there are three underscore characters in the cookie name. This is unrelated to the __cfduid cookie that is legitimately used by Cloudflare.
- Published
- 4 Apr 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-vqqv-v9m2-48p2
- Sources
- NVDJSONOSV GHSA-vqqv-v9m2-48p2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getbootstrap | bootstrap-sasscpe:2.3:a:getbootstrap:bootstrap-sass:3.2.0.3:*:*:*:*:ruby:*:* |
= 3.2.0.3 | |
| OSV | RubyGems | bootstrap-sass | >= 3.2.0.3, < 3.2.0.4 | 3.2.0.4 |
References
- http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html · Third Party Advisory
- https://github.com/twbs/bootstrap-sass/issues/1195 · Issue Tracking, Third Party Advisory, WEB
- https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/ · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10842 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2019-10842.yml · WEB
- https://github.com/twbs/bootstrap-sass · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Apr 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Apr 2019)