Описание
gorilla/schema converts structs to and from form values. Prior to version 1.4.1 Running schema.Decoder.Decode()
on a struct that has a field of type []struct{...}
opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of schema.Decoder.Decode()
on a struct with arrays of other structs could be vulnerable to this memory exhaustion vulnerability. Version 1.4.1 contains a patch for the issue.
A flaw was found in the gorilla/schema package. Running schema.Decoder.Decode()
on a struct that has a field of type []struct{...}
opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of schema.Decoder.Decode()
on a struct with arrays of other structs could trigger memory exhaustion and lead to a denial of service.
Отчет
This vulnerability in the gorilla/schema package is a high-severity issue due to its potential to cause a Denial of Service (DoS) attack through memory exhaustion. The schema.Decoder.Decode() function, when processing a struct with fields of type []struct{...}, is susceptible to malicious input that exploits sparse slice functionality. This can result in excessive memory allocations, overwhelming the system's resources and rendering the application unresponsive. 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 do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-central-db-rhel8 | Will not fix | ||
Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Will not fix | ||
Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-rhel8-operator | Will not fix | ||
Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-roxctl-rhel8 | Will not fix | ||
Red Hat Enterprise Linux 10 | podman | Not affected | ||
Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-central-db-rhel8 | Fixed | RHSA-2024:6054 | 29.08.2024 |
Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-collector-rhel8 | Fixed | RHSA-2024:6054 | 29.08.2024 |
Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-collector-slim-rhel8 | Fixed | RHSA-2024:6054 | 29.08.2024 |
Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-main-rhel8 | Fixed | RHSA-2024:6054 | 29.08.2024 |
Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-operator-bundle | Fixed | RHSA-2024:6054 | 29.08.2024 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
gorilla/schema converts structs to and from form values. Prior to version 1.4.1 Running `schema.Decoder.Decode()` on a struct that has a field of type `[]struct{...}` opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of `schema.Decoder.Decode()` on a struct with arrays of other structs could be vulnerable to this memory exhaustion vulnerability. Version 1.4.1 contains a patch for the issue.
gorilla/schema converts structs to and from form values. Prior to version 1.4.1 Running `schema.Decoder.Decode()` on a struct that has a field of type `[]struct{...}` opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of `schema.Decoder.Decode()` on a struct with arrays of other structs could be vulnerable to this memory exhaustion vulnerability. Version 1.4.1 contains a patch for the issue.
gorilla/schema converts structs to and from form values. Prior to vers ...
Potential memory exhaustion attack due to sparse slice deserialization
EPSS
7.5 High
CVSS3