CVE-2019-10842
rubygem-bootstrap-sass: backdoor code allows arbitrary code execution when downloaded from rubygems.org
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Ruby Advisory DB. Niedriger laut Red Hat (hoch).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | bootstrap-sass | 3.2.0.4 |
| rubygems::Ruby Advisory Database | bootstrap-sass | >= 3.2.0.4 |
Referenzen
- http://dgb.github.io/2019/04/05/bootstrap-sass-backdoor.html
- https://access.redhat.com/security/cve/CVE-2019-10842
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2019-10842.yml
- https://github.com/twbs/bootstrap-sass
- https://github.com/twbs/bootstrap-sass/issues/1195
- https://nvd.nist.gov/vuln/detail/CVE-2019-10842
- https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem
- https://snyk.io/blog/malicious-remote-code-execution-backdoor-discovered-in-the-popular-bootstrap-sass-ruby-gem/