{
  "threat_severity" : "Moderate",
  "public_date" : "2023-03-15T00:00:00Z",
  "bugzilla" : {
    "description" : "rubygem-activesupport: Possible XSS in SafeBuffer#bytesplice",
    "id" : "2179637",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2179637"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-79",
  "details" : [ "There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.", "A Cross-Site-Scripting vulnerability was found in rubygem ActiveSupport. If the new bytesplice method is called on a SafeBuffer with untrusted user input, malicious code could be executed." ],
  "affected_release" : [ {
    "product_name" : "RHOL-5.6-RHEL-8",
    "release_date" : "2023-04-26T00:00:00Z",
    "advisory" : "RHSA-2023:1953",
    "cpe" : "cpe:/a:redhat:logging:5.6::el8",
    "package" : "openshift-logging/fluentd-rhel8:v1.14.6-113"
  }, {
    "product_name" : "RHOL-5.7-RHEL-8",
    "release_date" : "2023-06-12T00:00:00Z",
    "advisory" : "RHSA-2023:3495",
    "cpe" : "cpe:/a:redhat:logging:5.7::el8",
    "package" : "openshift-logging/fluentd-rhel8:v1.14.6-140"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat 3scale API Management Platform 2",
    "fix_state" : "Affected",
    "package_name" : "3scale-amp-backend-container",
    "cpe" : "cpe:/a:redhat:red_hat_3scale_amp:2"
  }, {
    "product_name" : "Red Hat 3scale API Management Platform 2",
    "fix_state" : "Will not fix",
    "package_name" : "3scale-amp-zync-container",
    "cpe" : "cpe:/a:redhat:red_hat_3scale_amp:2"
  }, {
    "product_name" : "Red Hat 3scale API Management Platform 2",
    "fix_state" : "Will not fix",
    "package_name" : "3scale-toolbox-container",
    "cpe" : "cpe:/a:redhat:red_hat_3scale_amp:2"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "fix_state" : "Out of support scope",
    "package_name" : "rubygem-activesupport",
    "cpe" : "cpe:/a:redhat:openshift:3.11"
  }, {
    "product_name" : "Red Hat Satellite 6",
    "fix_state" : "Not affected",
    "package_name" : "candlepin",
    "cpe" : "cpe:/a:redhat:satellite:6"
  }, {
    "product_name" : "Red Hat Satellite 6",
    "fix_state" : "Not affected",
    "package_name" : "rubygem-activesupport",
    "cpe" : "cpe:/a:redhat:satellite:6"
  }, {
    "product_name" : "Red Hat Satellite 6",
    "fix_state" : "Not affected",
    "package_name" : "rubygem-deep_cloneable",
    "cpe" : "cpe:/a:redhat:satellite:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-28120\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-28120\nhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-28120.yml" ],
  "name" : "CVE-2023-28120",
  "mitigation" : {
    "value" : "Avoid calling bytesplice on a SafeBuffer (html_safe) string with untrusted user input.",
    "lang" : "en:us"
  },
  "csaw" : false
}