CVE-2026-27601 Underscore.js has unlimited recursion in _.flatten and _.isEqual, potential for DoS attack
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Underscore.js is a utility-belt library for JavaScript. Prior to 1.13.8, the _.flatten and _.isEqual functions use recursion without a depth limit. Under very specific conditions, detailed below, an attacker could exploit this in a Denial of Service (DoS) attack by triggering a stack overflow. Untrusted input must be used to create a recursive datastructure, for example using JSON.parse, with no enforced depth limit. The datastructure thus created must be passed to _.flatten or _.isEqual. In the case of _.flatten, the vulnerability can only be exploited if it is possible for a remote client to prepare a datastructure that consists of arrays at all levels AND if no finite depth limit is passed as the second argument to _.flatten. In the case of _.isEqual, the vulnerability can only be exploited if there exists a code path in which two distinct datastructures that were submitted by the same remote client are compared using _.isEqual. For example, if a client submits data that are stored in a database, and the same client can later submit another datastructure that is then compared to the data that were saved in the database previously, OR if a client submits a single request, but its data are parsed twice, creating two non-identical but equivalent datastructures that are then compared. Exceptions originating from the call to _.flatten or _.isEqual, as a result of a stack overflow, are not being caught. This vulnerability is fixed in 1.13.8.
Upgrade path
71 packages: 3 fixed, 67 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux boost(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux cyrus-sasl(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux cyrus-sasl-bootstrap(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux krb5(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux numpy(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux rsyslog(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner cyrus-sasl(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| cbl-mariner cyrus-sasl-bootstrap(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| cbl-mariner python-sphinx(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| cbl-mariner python-sqlalchemy(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| cbl-mariner rsyslog(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| debian/underscore(Debian 12) | = 1.13.4~dfsg+~1.11.4-3; = 1.13.7~dfsg+~1.13.0-1; = 1.13.7~dfsg+~1.13.0-2; = 1.13.7~dfsg+~1.13.0-3 +5 more | No fix listed | No fix yet |
| debian/underscore(Debian 13) | = 1.13.4~dfsg+~1.11.4-3; = 1.13.7~dfsg+~1.13.0-1; = 1.13.7~dfsg+~1.13.0-2; = 1.13.7~dfsg+~1.13.0-3 +5 more | No fix listed | No fix yet |
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal(Red Hat ansible_portal 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-on-clouds/aoc-azure-aap-installer-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/pluginregistry-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/dotnet7.0(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/firefox(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/firefox(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/firefox(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/firefox(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/gjs(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/gjs(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/grafana(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/io.hawt-hawtio-online(Red Hat jboss_fuse 7) | All versions | No fix listed | No fix yet |
… and 41 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux boost(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner cyrus-sasl(CBL-Mariner:2.0) | All versions | No fix listed |
| cbl-mariner cyrus-sasl-bootstrap(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux cyrus-sasl(Azure Linux:3.0) | All versions | No fix listed |
| azure linux cyrus-sasl-bootstrap(Azure Linux:3.0) | All versions | No fix listed |
| azure linux krb5(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner python-sphinx(CBL-Mariner:2.0) | All versions | No fix listed |
| cbl-mariner python-sqlalchemy(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux numpy(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner rsyslog(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux rsyslog(Azure Linux:3.0) | All versions | No fix listed |
| jashkenas underscore | = < 1.13.8 | No fix listed |
| npm underscore(npm) | <= 1.13.7 | No fix listed |
| debian/underscore(Debian:12) | All versions | No fix listed |
| debian/underscore(Debian:12) | = 1.13.4~dfsg+~1.11.4-3 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.7~dfsg+~1.13.0-1 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.7~dfsg+~1.13.0-2 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.7~dfsg+~1.13.0-3 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.7~dfsg+~1.13.0-4 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.7~dfsg+~1.13.0-5 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.7~dfsg+~1.13.0-6 | No fix listed |
| debian/underscore(Debian:12) | = 1.13.8~dfsg+~1.13.0-1 | No fix listed |
| debian/underscore(Debian:13) | All versions | No fix listed |
| debian/underscore(Debian:13) | = 1.13.4~dfsg+~1.11.4-3 | No fix listed |
| debian/underscore(Debian:13) | = 1.13.7~dfsg+~1.13.0-1 | No fix listed |
Show 71 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/underscore(Debian:13) | = 1.13.7~dfsg+~1.13.0-2 | No fix listed |
| debian/underscore(Debian:13) | = 1.13.7~dfsg+~1.13.0-3 | No fix listed |
| debian/underscore(Debian:13) | = 1.13.7~dfsg+~1.13.0-4 | No fix listed |
| debian/underscore(Debian:13) | = 1.13.7~dfsg+~1.13.0-5 | No fix listed |
| debian/underscore(Debian:13) | = 1.13.7~dfsg+~1.13.0-6 | No fix listed |
| debian/underscore(Debian:13) | = 1.13.8~dfsg+~1.13.0-1 | No fix listed |
| debian/underscore(Debian:14) | < 1.13.8~dfsg+~1.13.0-1 | 1.13.8~dfsg+~1.13.0-1 |
| debian/underscore(Debian:14) | = 1.13.4~dfsg+~1.11.4-3 | No fix listed |
| debian/underscore(Debian:14) | = 1.13.7~dfsg+~1.13.0-1 | No fix listed |
| debian/underscore(Debian:14) | = 1.13.7~dfsg+~1.13.0-2 | No fix listed |
| debian/underscore(Debian:14) | = 1.13.7~dfsg+~1.13.0-3 | No fix listed |
| debian/underscore(Debian:14) | = 1.13.7~dfsg+~1.13.0-4 | No fix listed |
| debian/underscore(Debian:14) | = 1.13.7~dfsg+~1.13.0-5 | No fix listed |
| debian/underscore(Debian:14) | = 1.13.7~dfsg+~1.13.0-6 | No fix listed |
| ubuntu/ruby-rails-assets-underscore(Ubuntu:22.04) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1780930740(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1776784286(Red Hat:rhdh:1.8::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1777903262(Red Hat:rhdh:1.9::el9) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch6-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch-operator-bundle(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch-proxy-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/elasticsearch-rhel9-operator(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/kibana6-rhel8(Red Hat:logging:5) | All versions | No fix listed |
| redhat/openshift-logging/logging-curator5-rhel9(Red Hat:logging:5) | All versions | No fix listed |
| redhat/migration-toolkit-virtualization/mtv-console-plugin-rhel9(Red Hat:migration_toolkit_virtualization:2) | All versions | No fix listed |
| redhat/mtv-candidate/mtv-console-plugin-rhel9(Red Hat:migration_toolkit_virtualization:2) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-api-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-db-migration-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/rhacm2/console-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-on-clouds/aoc-azure-aap-installer-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/firefox(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/gjs(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/thunderbird(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/firefox(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/firefox(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mozjs60(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/thunderbird(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/dotnet7.0(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/firefox(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gjs(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/python-sphinx(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/thunderbird(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/io.hawt-hawtio-online(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/io.hawt-project(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/io.hawt-project(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/io.hawt-project(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/io.hawt-project(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kf-notebook-controller-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-notebook-controller-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/quay/quay-rhel9(Red Hat:quay:3) | All versions | No fix listed |
| redhat/satellite/iop-host-inventory-frontend-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) | All versions | No fix listed |
| ubuntu/ruby-rails-assets-underscore(Ubuntu:24.04) | All versions | No fix listed |
| underscorejs underscore | < 1.13.8 | 1.13.8 |
| npm underscore(npm) | < 1.13.8 | 1.13.8 |
References
- MSRC Security Update Guide vendor-advisory
- https://github.com/jashkenas/underscore/security/advisories/GHSA-qpx9-hpmf-5gmw exploit patch vendor-advisory
- https://github.com/jashkenas/underscore/commit/411e222eb0ca5d570cc4f6315c02c05b830ed2b4 patch
- https://github.com/jashkenas/underscore/commit/a6e23ae9647461ec33ad9f92a2ecfc220eea0a84 patch
- github.com
- underscorejs.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-27601 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:24841 patch vendor-advisory
- RHSA-2026:9742 patch vendor-advisory
- RHSA-2026:13826 patch vendor-advisory
- Red Hat Bugzilla 2444247 issue-tracking
- github.com product