Vulnerability advisory
GHSA-vqqv-v9m2-48p2
Bootstrap-sass contains code execution backdoor
Also known as CVE-2019-10842
Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected versions
| Affected | Fixed in |
|---|---|
3.2.0.3 to before 3.2.0.4 | 3.2.0.4Advisories → |
Also listed as affected (1) | |
Description
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-10842 ↗
- Webgithub.com/twbs/bootstrap-sass/issues/1195 ↗
- Webgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2019-10842.yml ↗
- Packagegithub.com/twbs/bootstrap-sass ↗
- Websnyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem ↗
- Websnyk.io/vuln/SNYK-RUBY-BOOTSTRAPSASS-174093 ↗