Rapid7

vulnerability

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

Severity
6
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:N)
Published
Mar 5, 2024
Added
Jun 28, 2024
Modified
Mar 30, 2026

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.

Solutions

linuxrpm-upgrade-ignitionlinuxrpm-upgrade-openshiftlinuxrpm-upgrade-ose-aws-ecr-image-credential-providerlinuxrpm-upgrade-ose-azure-acr-image-credential-providerlinuxrpm-upgrade-ose-gcp-gcr-image-credential-providerlinuxrpm-upgrade-podman

References

    Title
    Rapid7 Labs

    2026 Global Threat Landscape Report

    The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.