CVEfocus › CVE database › CVE-2019-10842

CVE-2019-10842

CVSS 9.8 CriticalEPSS 4.9% (higher than 93% of CVEs)Published 2019-04-04Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from RubyGems: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04node-bootstrap-sassNot affected
vulnerable_code_not_present
Ubuntu 18.04ruby-bootstrap-sassNot affected
vulnerable_code_not_present
Ubuntu 16.04ruby-bootstrap-sassNot affected
vulnerable_code_not_present
Ubuntu 14.04ruby-bootstrap-sassNot affected
vulnerable_code_not_present
RubyGems librarybootstrap-sassFixed3.2.0.4GHSA-vqqv-v9m2-48p2

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.