Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | nodejs22-1:22.23.2-3.el10_2 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | nodejs22-1:22.23.2-2.el10_0 | * |
| Red Hat Enterprise Linux 8 | RedHat | nodejs:22-8100020260928121333.6d880403 | * |
| Red Hat Enterprise Linux 9 | RedHat | nodejs:22-9080020260928121441.rhel9 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | nodejs:22-9060020261009101511.rhel9 | * |
| Red Hat Ansible Automation Platform 2.2 | RedHat | ansible-automation-platform/bootc-automation-portal-rhel9:1792641102 | * |
| Red Hat Hardened Images | RedHat | grafana12-4-main-12.4.10-0.8.hum1 | * |
| Red Hat Hardened Images | RedHat | grafana12-4-main-12.4.10-0.9.hum1 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/dashboard-rhel9:1791945540 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/openvsx-rhel9:1792494821 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/pluginregistry-rhel9:1792495212 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/udi-rhel9:1792708612 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-remediations-rhel9:1793065138 | * |
| Red Hat Satellite 6.19 | RedHat | satellite/iop-remediations-rhel9:1793092253 | * |
| Npm | Ubuntu | questing | * |