vulnerability
Red Hat OpenShift: CVE-2024-24785: golang: html/template: errors returned from MarshalJSON methods may break template escaping
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:L/Au:S/C:P/I:P/A:N) | Mar 5, 2024 | Jun 28, 2024 | Jul 28, 2025 |
Severity
6
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:N)
Published
Mar 5, 2024
Added
Jun 28, 2024
Modified
Jul 28, 2025
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
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.