Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2024-24785: golang: html/template: errors returned from MarshalJSON methods may break template escaping (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2024-24785: golang: html/template: errors returned from MarshalJSON methods may break template escaping (Multiple Advisories)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:C/A:N)
Published
03/05/2024
Created
05/01/2024
Added
05/01/2024
Modified
05/01/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)

  • redhat-upgrade-go-toolset
  • redhat-upgrade-golang
  • redhat-upgrade-golang-bin
  • redhat-upgrade-golang-docs
  • redhat-upgrade-golang-misc
  • redhat-upgrade-golang-src
  • redhat-upgrade-golang-tests

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

;