Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-24785

Опубликовано: 05 мар. 2024
Источник: redhat
CVSS3: 6.5

Описание

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.

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.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
cert-manager Operator for Red Hat OpenShiftcert-manager-operator-containerNot affected
Cost Management Metrics Operatorcostmanagement-metrics-operator-containerAffected
Logical Volume Manager Storagelvms4/topolvm-rhel9Not affected
Migration Toolkit for Applications 6mta/mta-hub-rhel9Will not fix
Migration Toolkit for Applications 7mta/mta-cli-rhel9Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-api-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine-hive-containerWill not fix
Node Maintenance Operatorworkload-availability/node-maintenance-rhel8-operatorWill not fix
OpenShift Developer Tools and ServiceshelmWill not fix
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-74
https://bugzilla.redhat.com/show_bug.cgi?id=2268022golang: html/template: errors returned from MarshalJSON methods may break template escaping

6.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.4
ubuntu
больше 2 лет назад

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.

CVSS3: 5.4
nvd
больше 2 лет назад

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.

CVSS3: 5.4
msrc
4 месяца назад

Errors returned from JSON marshaling may break template escaping in html/template

CVSS3: 5.4
debian
больше 2 лет назад

If errors returned from MarshalJSON methods contain user controlled da ...

CVSS3: 5.4
github
больше 2 лет назад

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.

6.5 Medium

CVSS3