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

exploitDog

redhat логотип

CVE-2020-29509

Опубликовано: 14 дек. 2020
Источник: redhat
CVSS3: 5.6
EPSS Низкий

Описание

The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.

A flaw was found in go. Encoding and decoding of XML attributes could lead to changes in the observed integrity. An attacker could use this flaw to trick applications which rely on attribute integrity for security decisions to make those decisions incorrectly. Known vulnerability use-cases are SAML and XML-DSig.

Отчет

All uses of xml/encoding package in OpenShift Container Platform, OpenShift Jaeger, OpenShift Service Mesh (OSSM), OpenShift Virtualization and OpenShift Container Storage do not rely on XML stability. We have assigned CVE-2020-27846 for crewjam/saml, and CVE-2020-27847 for dexidp/dex Go modules which are known to use encoding/xml in an unsafe way. As it is unlikely for there to be any fix for this issue in Go's encoding/xml library, and the library should not be relied upon for security-sensitive protocols such as SAML and XML-DSig, there is currently no plan to fix this in golang as shipped in Red Hat Enterprise Linux 7, 8, or Red Hat Developer Tools.

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

While there is unlikely to be any fix for this issue Go's encoding/xml library affected users can workaround the vulnerability by using Mattermost's xml-roundtrip-validator [1]. [1] https://github.com/mattermost/xml-roundtrip-validator

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

ПлатформаПакетСостояниеРекомендацияРелиз
Distributed Tracing Jaeger 1distributed-tracing/jaeger-all-in-one-rhel7Not affected
Distributed Tracing Jaeger 1distributed-tracing/jaeger-all-in-one-rhel8Not affected
Distributed Tracing Jaeger 1distributed-tracing/jaeger-collector-rhel7Not affected
Distributed Tracing Jaeger 1distributed-tracing/jaeger-collector-rhel8Not affected
Distributed Tracing Jaeger 1distributed-tracing/jaeger-rhel7-operatorNot affected
Distributed Tracing Jaeger 1distributed-tracing/jaeger-rhel8-operatorNot affected
OpenShift Service Mesh 2.0servicemeshNot affected
OpenShift Service Mesh 2.0servicemesh-operatorNot affected
OpenShift Service Mesh 2.0servicemesh-prometheusNot affected
Red Hat Developer Toolsgo-toolset-1.14-golangWill not fix

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

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

Статус:

Low
Дефект:
CWE-115
https://bugzilla.redhat.com/show_bug.cgi?id=1908535go: encoding/xml: XML attribute instability

EPSS

Процентиль: 41%
0.00187
Низкий

5.6 Medium

CVSS3

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

CVSS3: 9.8
ubuntu
около 5 лет назад

The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.

CVSS3: 9.8
nvd
около 5 лет назад

The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.

CVSS3: 5.6
msrc
около 4 лет назад

The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.

CVSS3: 9.8
debian
около 5 лет назад

The encoding/xml package in Go (all versions) does not correctly prese ...

CVSS3: 9.8
github
почти 4 года назад

Authentication Bypass in github.com/russellhaering/gosaml2

EPSS

Процентиль: 41%
0.00187
Низкий

5.6 Medium

CVSS3