ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-24785

golang: html/template: errors returned from MarshalJSON methods may break template escaping

Moderate No fix available CVE-2024-24785

Details

A flaw was found in Go's html/template standard library package. 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 subsequent actions to inject unexpected content into templates.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8grafana
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-azure-monitor
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-cloudwatch
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-elasticsearch
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-graphite
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-influxdb
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-loki
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-mssql
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-mysql
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-opentsdb
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-postgres
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-prometheus
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-selinux
All versions, no fix yet
Red Hat:enterprise_linux:8grafana-stackdriver
All versions, no fix yet
Red Hat:enterprise_linux:8osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-worker
All versions, will not be fixed
Red Hat:enterprise_linux:8toolbox
All versions, will not be fixed
Red Hat:enterprise_linux:8toolbox-tests
All versions, will not be fixed
Red Hat:enterprise_linux:9grafana
All versions, no fix yet
Red Hat:enterprise_linux:9grafana-selinux
All versions, no fix yet
Red Hat:enterprise_linux:9ignition
All versions, will not be fixed
Red Hat:enterprise_linux:9ignition-edge
All versions, will not be fixed
Red Hat:enterprise_linux:9ignition-grub
All versions, will not be fixed
Red Hat:enterprise_linux:9ignition-validate
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-worker
All versions, will not be fixed

References