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

exploitDog

redhat логотип

CVE-2025-1219

Опубликовано: 30 мар. 2025
Источник: redhat
CVSS3: 3.7
EPSS Низкий

Описание

In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect. This may cause the resulting document to be parsed incorrectly or bypass validations.

A flaw was found in PHP's DOM and SimpleXML extensions. This vulnerability allows incorrect parsing of a redirected HTTP resource via improper content-type header handling.

Отчет

Moderate impact: Red Hat Enterprise Linux is affected by a PHP flaw in the DOM and SimpleXML extensions. When an application requests an HTTP resource that performs a redirect, the wrong Content-Type header is used to determine the character set, which can cause the resulting document to be parsed incorrectly or allow validations to be bypassed. The affected RHEL entries include streams with delegated resolution, for which a fix is being pursued; RHEL entries marked not affected remain outside the affected scope. Red Hat In-Vehicle OS entries are affected with resolution deferred, so the residual risk is that redirected HTTP resources processed by DOM or SimpleXML may still be parsed incorrectly or bypass validations. Fedora 40 and Fedora 41 are not affected because inline mitigations already exist. Red Hat rates the issue Low (CVSS 3.7) rather than the external Moderate ratings because its assessment assigns high attack complexity and limited confidentiality 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 Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpOut of support scope
Red Hat Enterprise Linux 10phpFixedRHSA-2025:748913.05.2025
Red Hat Enterprise Linux 8phpFixedRHSA-2025:1568711.09.2025
Red Hat Enterprise Linux 8phpFixedRHSA-2026:247010.02.2026
Red Hat Enterprise Linux 9phpFixedRHSA-2025:426328.04.2025
Red Hat Enterprise Linux 9phpFixedRHSA-2025:741813.05.2025
Red Hat Enterprise Linux 9phpFixedRHSA-2025:743113.05.2025
Red Hat Enterprise Linux 9phpFixedRHSA-2025:743213.05.2025

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

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

Статус:

Moderate
Дефект:
CWE-20
https://bugzilla.redhat.com/show_bug.cgi?id=2356043php: libxml streams use wrong content-type header when requesting a redirected resource

EPSS

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

3.7 Low

CVSS3

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

CVSS3: 5.3
ubuntu
больше 1 года назад

In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect. This may cause the resulting document to be parsed incorrectly or bypass validations.

CVSS3: 5.3
nvd
больше 1 года назад

In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect. This may cause the resulting document to be parsed incorrectly or bypass validations.

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

libxml streams use wrong content-type header when requesting a redirected resource

CVSS3: 5.3
debian
больше 1 года назад

In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* ...

github
больше 1 года назад

libxml streams use wrong `content-type` header when requesting a redirected resource

EPSS

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

3.7 Low

CVSS3