Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2024-24785: golang: html/template: errors returned from MarshalJSON methods may break template escaping

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat OpenShift: CVE-2024-24785: golang: html/template: errors returned from MarshalJSON methods may break template escaping

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
03/05/2024
Created
06/28/2024
Added
06/28/2024
Modified
07/18/2024

Description

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.

Solution(s)

  • linuxrpm-upgrade-ignition
  • linuxrpm-upgrade-openshift
  • linuxrpm-upgrade-ose-aws-ecr-image-credential-provider
  • linuxrpm-upgrade-ose-azure-acr-image-credential-provider
  • linuxrpm-upgrade-ose-gcp-gcr-image-credential-provider
  • linuxrpm-upgrade-podman

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;