GitHub Advisoryadvisory · RubyGems

GHSA-vqqv-v9m2-48p2 Bootstrap-sass contains code execution backdoor

CRITICAL Published 2019-04-04 Modified 2023-08-25 Official page ↗
Aliases
CVE-2019-10842
Ecosystem
RubyGems
Packages
bootstrap-sass
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2020-06-16

Affected packages

• RubyGems bootstrap-sass: >= 3.2.0.3, < 3.2.0.4 → fixed in 3.2.0.4

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.

Related

Alias · CVE (1)

  • CVE-2019-10842 Arbitrary code execution (via backdoor code) was discovered in bootstrap-sass 3.2.0.3, when downloaded from rubygems.org. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References