{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-10842.json"
      }
    ],
    "title": "rubygem-bootstrap-sass: backdoor code allows arbitrary code execution when downloaded from rubygems.org",
    "tracking": {
      "current_release_date": "2025-11-21T16:48:16+00:00",
      "generator": {
        "date": "2025-11-21T16:48:16+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2019-10842",
      "initial_release_date": "2019-03-27T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2019-03-27T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-02-16T22:07:33+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T16:48:16+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "CloudForms Management Engine 5",
                "product": {
                  "name": "CloudForms Management Engine 5",
                  "product_id": "cloudforms_management_engine_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:cloudforms_managementengine:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "CloudForms Management Engine 5"
          },
          {
            "category": "product_version",
            "name": "cfme-gemset.src",
            "product": {
              "name": "cfme-gemset.src",
              "product_id": "cfme-gemset.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/cfme-gemset?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "cfme-gemset",
            "product": {
              "name": "cfme-gemset",
              "product_id": "cfme-gemset",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/cfme-gemset"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cfme-gemset as a component of CloudForms Management Engine 5",
          "product_id": "cloudforms_management_engine_5:cfme-gemset"
        },
        "product_reference": "cfme-gemset",
        "relates_to_product_reference": "cloudforms_management_engine_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cfme-gemset.src as a component of CloudForms Management Engine 5",
          "product_id": "cloudforms_management_engine_5:cfme-gemset.src"
        },
        "product_reference": "cfme-gemset.src",
        "relates_to_product_reference": "cloudforms_management_engine_5"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2019-10842",
      "cwe": {
        "id": "CWE-94",
        "name": "Improper Control of Generation of Code ('Code Injection')"
      },
      "discovery_date": "2019-04-04T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "cloudforms_management_engine_5:cfme-gemset",
            "cloudforms_management_engine_5:cfme-gemset.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1697482"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "rubygem-bootstrap-sass: backdoor code allows arbitrary code execution when downloaded from rubygems.org",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Red Hat CloudForms is not affected by this issue, since the only affected version of bootstrap-sass gem is the 3.2.0.3 and CloudForms only ships version 3.3.7.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "cloudforms_management_engine_5:cfme-gemset",
          "cloudforms_management_engine_5:cfme-gemset.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2019-10842"
        },
        {
          "category": "external",
          "summary": "RHBZ#1697482",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1697482"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2019-10842",
          "url": "https://www.cve.org/CVERecord?id=CVE-2019-10842"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2019-10842",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10842"
        }
      ],
      "release_date": "2019-03-27T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "cloudforms_management_engine_5:cfme-gemset",
            "cloudforms_management_engine_5:cfme-gemset.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important",
          "product_ids": [
            "cloudforms_management_engine_5:cfme-gemset",
            "cloudforms_management_engine_5:cfme-gemset.src"
          ]
        }
      ],
      "title": "rubygem-bootstrap-sass: backdoor code allows arbitrary code execution when downloaded from rubygems.org"
    }
  ]
}