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

exploitDog

redhat логотип

CVE-2024-37298

Опубликовано: 30 июн. 2024
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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 3advanced-cluster-security/rhacs-central-db-rhel8Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-rhel8-operatorWill not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-roxctl-rhel8Will not fix
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-central-db-rhel8FixedRHSA-2024:605429.08.2024
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-collector-rhel8FixedRHSA-2024:605429.08.2024
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-collector-slim-rhel8FixedRHSA-2024:605429.08.2024
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-main-rhel8FixedRHSA-2024:605429.08.2024
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-operator-bundleFixedRHSA-2024:605429.08.2024

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

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

Статус:

Important
Дефект:
CWE-770
https://bugzilla.redhat.com/show_bug.cgi?id=2295010gorilla/schema: Potential memory exhaustion attack due to sparse slice deserialization

EPSS

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

7.5 High

CVSS3

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

CVSS3: 7.5
ubuntu
около 1 года назад

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.

CVSS3: 7.5
nvd
около 1 года назад

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.

CVSS3: 7.5
msrc
около 1 года назад

Описание отсутствует

CVSS3: 7.5
debian
около 1 года назад

gorilla/schema converts structs to and from form values. Prior to vers ...

CVSS3: 7.5
github
около 1 года назад

Potential memory exhaustion attack due to sparse slice deserialization

EPSS

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

7.5 High

CVSS3