Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-4739

CVE-2024-24785 costmanagement-metrics-operator-container: golang: html/template: errors returned from MarshalJSON methods may break template escaping [cost-management]

XMLWordPrintable

      Security Tracking Issue

      Do not make this issue public.

      Impact: Moderate
      Reported Date: 05-Mar-2024
      Resolve Bug By: 03-Jun-2024

      In case the dates above are already past, please evaluate this bug in your next prioritization review and make a decision then. Remember to explicitly set CLOSED:WONTFIX (in Bugzilla) or Closed:Won't Do (in Jira) if you decide not to fix this bug.

      Please review this tracker and its impact on your product or service, as soon as possible. The trackers are filed WITHOUT in-depth analysis as the vulnerability has a Low or Moderate severity impact on this product or service. For more details, please refer to following confluence page - https://docs.engineering.redhat.com/x/3e_3EQ

      Please see the Security Errata Policy for further details: https://docs.engineering.redhat.com/x/9kKpDw

      Flaw:


      CVE-2024-24785 golang: html/template: errors returned from MarshalJSON methods may break template escaping
      https://bugzilla.redhat.com/show_bug.cgi?id=2268022

      If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the
      html/template package, allowing for subsequent actions to inject unexpected content into templates.

      https://github.com/golang/go/issues/65697

            mskarbek Michael Skarbek
            rh-ee-rgatica Robb Gatica
            Kent Aycoth
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: