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

exploitDog

redhat логотип

CVE-2024-45336

Опубликовано: 17 янв. 2025
Источник: redhat
CVSS3: 5.9
EPSS Низкий

Описание

The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

A flaw was found in the net/http package of the Golang standard library. The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header redirected to b.com/ will not send that header to b.com. However, the sensitive headers would be restored if the client received a subsequent same-domain redirect. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

Отчет

Moderate impact: Red Hat products that include the affected golang net/http client are affected by a credential-disclosure flaw in HTTP redirect handling. When a client request with a sensitive header such as Authorization is redirected from one domain to another and then to a same-domain URL, the client can incorrectly restore and send that header to the final destination, potentially exposing credentials and other sensitive information. The current Red Hat scope contains affected entries across Red Hat Enterprise Linux, OpenShift Container Platform, and other Red Hat products and components; some affect records have a current NOTAFFECTED resolution, indicating those specific product/version records are not affected, but the record provides no technical justification for why. For affected entries marked DELEGATED, a fix is being pursued by the responsible product teams. For entries marked DEFER, the record does not establish a product-specific reason for deferral; the residual risk is that applications using the affected net/http client can still disclose sensitive headers through this redirect sequence. Red Hat's CVSS is 5.9 Moderate (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N), compared with CISA's 6.1 Moderate, reflecting Red Hat's higher attack-complexity and unchanged-scope assessment and confidentiality-only 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.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-agent-rhel8Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-rhel8Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorAffected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Affected
Cryostat 3cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8Fix deferred
Cryostat 3cryostat-tech-preview/cryostat-rhel8-operatorFix deferred
Cryostat 3cryostat-tech-preview/cryostat-storage-rhel8Fix deferred
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8-operatorNot affected

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

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

Статус:

Moderate
Дефект:
CWE-200
https://bugzilla.redhat.com/show_bug.cgi?id=2341751golang: net/http: net/http: sensitive headers incorrectly sent after cross-domain redirect

EPSS

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

5.9 Medium

CVSS3

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

CVSS3: 6.1
ubuntu
почти 2 года назад

The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

CVSS3: 6.1
nvd
почти 2 года назад

The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

CVSS3: 6.1
msrc
больше 1 года назад

Sensitive headers incorrectly sent after cross-domain redirect in net/http

CVSS3: 6.1
debian
почти 2 года назад

The HTTP client drops sensitive headers after following a cross-domain ...

CVSS3: 6.1
github
почти 2 года назад

The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

EPSS

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

5.9 Medium

CVSS3