Описание
A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey and ctx. That function uses named return parameters to free pkey and ctx if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey and ctx will be nil inside the deferred function that should free them.
Отчет
The majority of RHEL utilities are not long-running applications; instead, they are command-line tools. These tools utilize Golang package as build-time dependency, which is why they are classified as having a "Moderate" level of impact.
Меры по смягчению последствий
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.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
NBDE Tang Server | tang-operator-bundle-container | Will not fix | ||
OpenShift Developer Tools and Services | helm | Affected | ||
OpenShift Developer Tools and Services | odo | Will not fix | ||
OpenShift Pipelines | openshift-pipelines-client | Affected | ||
OpenShift Serverless | openshift-serverless-clients | Affected | ||
Red Hat Ansible Automation Platform 1.2 | helm | Will not fix | ||
Red Hat Ansible Automation Platform 1.2 | openshift-clients | Will not fix | ||
Red Hat Ansible Automation Platform 2 | openshift-clients | Will not fix | ||
Red Hat Certification for Red Hat Enterprise Linux 8 | redhat-certification-preflight | Affected | ||
Red Hat Certification for Red Hat Enterprise Linux 9 | redhat-certification-preflight | Affected |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey and ctx. That function uses named return parameters to free pkey and ctx if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey and ctx will be nil inside the deferred function that should free them.
EPSS
7.5 High
CVSS3