Ad

CVE-2024-1394

HIGH CVSS 3.1: 7,5 EPSS 1.53%
Обновлено 23 ноября 2026
GitHub
Параметр Значение
CVSS 7,5 (HIGH)
Тип уязвимости CWE-401 (Утечка памяти)
Поставщик GitHub
Публичный эксплойт Нет

В Golang в коде шифрования/дешифрования RSA была обнаружена утечка памяти, которая может привести к уязвимости исчерпания ресурсов при использовании входов, контролируемых злоумышленником. Утечка памяти происходит по адресу github.com/golang-fips/openssl/openssl/rsa.go#L113. Утечка объектов — pkey и ctx.

Эта функция использует именованные возвращаемые параметры для освобождения pkey и ctx, если произошла ошибка при инициализации контекста или установке различных свойств. Все операторы возврата, связанные со случаями ошибок, следуют шаблону «return nil, nil,fail(...)», что означает, что pkey и ctx будут равны нулю внутри отложенной функции, которая должна их освободить.

Показать оригинальное описание (EN)

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.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Нужны права
Не требуются
Права не нужны
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Нет
Нет утечки данных
Целостность
Нет
Нет модификации данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1

Тип уязвимости (CWE)

Уязвимые продукты

red hat:red hat openshift container platform 4.14 red hat:red hat openstack platform 16.1 red hat:red hat ansible automation platform 2.4 for rhel 8 red hat:red hat enterprise linux 8 red hat:red hat enterprise linux 9.0 update services for sap solutions red hat:red hat openshift dev spaces red hat:red hat developer tools red hat:nbde tang server red hat:red hat certification program for red hat enterprise linux 9 red hat:red hat enterprise linux 7 red hat:red hat openstack platform 17.1 red hat:red hat openshift container platform 4.13 red hat:red hat software collections red hat:rhodf-4.16-rhel-9 red hat:red hat enterprise linux 9.2 extended update support red hat:red hat service interconnect 1 red hat:red hat openshift virtualization 4 red hat:red hat openshift gitops red hat:red hat certification for red hat enterprise linux 8 red hat:red hat openstack platform 16.2 red hat:red hat openstack platform 18.0 red hat:openshift pipelines red hat:red hat storage 3 red hat:red hat enterprise linux 9 red hat:openshift serverless red hat:red hat ansible automation platform 1.2 red hat:red hat openshift container storage 4 red hat:red hat openshift container platform 4.12 red hat:red hat ansible automation platform 2.4 for rhel 9 red hat:red hat openstack platform 17.1 for rhel 9 red hat:red hat openshift container platform 4.15 red hat:red hat openshift container platform 4 red hat:openshift developer tools and services red hat:red hat openshift on aws red hat:red hat openstack platform 17.1 for rhel 8

Ссылки 46

https://access.redhat.com/errata/RHSA-2024:1462
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1468
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1472
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1501
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1502
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1561
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1563
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1566
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1567
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1574
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1640
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1644
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1646
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1763
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:1897
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:2562
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:2568
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:2569
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:2729
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:2730
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:2767
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:3265
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:3352
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4146
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4371
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4378
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4379
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4502
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4581
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4591
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4672
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4699
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4761
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4762
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:4960
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:5258
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:5634
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2024:7262
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:7118
secalert@redhat.com
https://access.redhat.com/security/cve/CVE-2024-1394
secalert@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2262921
secalert@redhat.com
https://github.com/golang-fips/openssl/commit/85d31d0d257ce842c8a1e63c4d230ae85…
secalert@redhat.com
https://github.com/golang-fips/openssl/security/advisories/GHSA-78hx-gp6g-7mj6
secalert@redhat.com
https://github.com/microsoft/go-crypto-openssl/commit/104fe7f6912788d2ad44602f7…
secalert@redhat.com
https://pkg.go.dev/vuln/GO-2024-2660
secalert@redhat.com
https://vuln.go.dev/ID/GO-2024-2660.json
secalert@redhat.com