VDB
Sign up
CRITICAL9.8

GHSA-vqqv-v9m2-48p2

Bootstrap-sass contains code execution backdoor

Quick fix

GHSA-vqqv-v9m2-48p2 — bootstrap-sass: upgrade to the fixed version with the command below.

bundle update bootstrap-sass

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/bootstrap-sass
Introduced in: 3.2.0.3Fixed in: 3.2.0.4
Fixbundle update bootstrap-sass

References