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

exploitDog

redhat логотип

CVE-2025-8263

Опубликовано: 28 июл. 2025
Источник: redhat
CVSS3: 5.3

Описание

A regular expression denial of service flaw has been discovered in the prettier code formatter tool. This flaw allows and attacker who has access to input source files to induce a denial of service.

Отчет

Within regulated environments, a combination of the following controls acts as a significant barrier to successful exploitation of a CWE-1333: Inefficient Regular Expression Complexity or a CWE-400: Uncontrolled Resource Consumption, and therefore downgrades the severity of this particular CVE from Moderate to Low. Baseline configurations enforce secure coding practices that prohibit inefficient regular expressions known to cause excessive backtracking and CPU consumption. User input is validated and constrained prior to regex evaluation or resource-intensive operations, reducing the risk of resource exhaustion. Static code analysis and peer reviews ensure that input handling, error conditions, and resource-bound logic are implemented securely to prevent denial-of-service vulnerabilities. Real-time monitoring and centralized log analysis support early detection of CPU spikes, memory pressure, or latency anomalies indicative of regex inefficiencies or system disruption.

Меры по смягчению последствий

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.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Cryostat 4io.cryostat-cryostatFix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Fix deferred
Multicluster Global Hubmulticluster-globalhub/multicluster-globalhub-grafana-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-compat-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Fix deferred

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

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

Статус:

Moderate
Дефект:
CWE-1333
Дефект:
CWE-400
https://bugzilla.redhat.com/show_bug.cgi?id=2383844prettier: prettier parseNestedCSS ReDoS

5.3 Medium

CVSS3

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

nvd
3 месяца назад

Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.

CVSS3: 4.3
github
3 месяца назад

A vulnerability was found in prettier up to 3.6.2. It has been declared as problematic. Affected by this vulnerability is the function parseNestedCSS of the file src/language-css/parser-postcss.js. The manipulation of the argument node leads to inefficient regular expression complexity. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

5.3 Medium

CVSS3