DHI-ho26-qeuu-cgjz-36az

Source
https://scout.docker.com/v/DHI-ho26-qeuu-cgjz-36az
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-ho26-qeuu-cgjz-36az
Upstream
Published
2026-11-12T00:42:35Z
Modified
2026-11-21T12:30:31Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
### Summary
Details

Summary

The arrayLimit option in qs does not enforce limits for comma-separated values when comma: true is enabled, allowing attackers to cause denial-of-service via memory exhaustion. This is a bypass of the array limit enforcement, similar to the bracket notation bypass addressed in GHSA-6rw7-vpxm-498p (CVE-2025-15284).

Details

When the comma option is set to true (not the default, but configurable in applications), qs allows parsing comma-separated strings as arrays (e.g., ?param=a,b,c becomes ['a', 'b', 'c']). However, the limit check for arrayLimit (default: 20) and the optional throwOnLimitExceeded occur after the comma-handling logic in parseArrayValue, enabling a bypass. This permits creation of arbitrarily large arrays from a single parameter, leading to excessive memory allocation.

Vulnerable code (lib/parse.js: lines ~40-50):

if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
    return val.split(',');
}

if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
    throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
}

return val;

The split(',') returns the array immediately, skipping the subsequent limit check. Downstream merging via utils.combine does not prevent allocation, even if it marks overflows for sparse arrays.This discrepancy allows attackers to send a single parameter with millions of commas (e.g., ?param=,,,,,,,,...), allocating massive arrays in memory without triggering limits. It bypasses the intent of arrayLimit, which is enforced correctly for indexed (a[0]=) and bracket (a[]=) notations (the latter fixed in v6.14.1 per GHSA-6rw7-vpxm-498p).

PoC

Test 1 - Basic bypass:

npm install qs
const qs = require('qs');

const payload = 'a=' + ','.repeat(25);  // 26 elements after split (bypasses arrayLimit: 5)
const options = { comma: true, arrayLimit: 5, throwOnLimitExceeded: true };

try {
  const result = qs.parse(payload, options);
  console.log(result.a.length);  // Outputs: 26 (bypass successful)
} catch (e) {
  console.log('Limit enforced:', e.message);  // Not thrown
}

Configuration:

  • comma: true
  • arrayLimit: 5
  • throwOnLimitExceeded: true

Expected: Throws "Array limit exceeded" error. Actual: Parses successfully, creating an array of length 26.

Impact

Denial of Service (DoS) via memory exhaustion.

References

Affected packages

Docker Hardened Images:Alpine:3.24
jupyterhub-k8s-singleuser-sample-fips

Package

Name
jupyterhub-k8s-singleuser-sample-fips
Purl
pkg:apk/dhi/jupyterhub-k8s-singleuser-sample-fips

Affected ranges

Affected versions

4.*
4.4.5-r0
4.4.5-r1
4.4.5-r2
4.4.5-r3
4.4.5-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"
jupyterhub-k8s-singleuser-sample

Package

Name
jupyterhub-k8s-singleuser-sample
Purl
pkg:apk/dhi/jupyterhub-k8s-singleuser-sample

Affected ranges

Affected versions

4.*
4.4.5-r0
4.4.5-r1
4.4.5-r2
4.4.5-r3
4.4.5-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"
socket-cli-2

Package

Name
socket-cli-2
Purl
pkg:apk/dhi/socket-cli-2

Affected ranges

Affected versions

2.*
2.1.0-r0
2.1.0-r1
2.1.0-r2
2.1.0-r3
2.1.0-r4
2.1.0-r5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"
Docker Hardened Images:Debian:13
datahub-ingestion

Package

Name
datahub-ingestion
Purl
pkg:deb/dhi/datahub-ingestion

Affected ranges

Affected versions

1.*
1.5.0.7-0
1.6.0.1-0
1.6.0.1-1
1.6.0.1-2
1.6.0.1-3
1.6.0.2-0
1.6.0.2-1
1.7.0.10-0
1.7.0.12-0
1.7.0.13-0
1.7.0.14-0
1.7.0.14-1
1.7.0.14-2
1.7.0.16-0
1.7.0.16-1
1.7.0.17-0
1.7.0.17-1
1.7.0.17-2
1.7.0.17-3
1.7.0.18-0
1.7.0.19-0
1.7.0.19-1
1.7.0.19-2
1.7.0.19-3
1.7.0.19-4
1.7.0.19-5
1.7.0.19-6
1.7.0.20-6
1.7.0.20-7
1.7.0.20-8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"
grist

Package

Name
grist
Purl
pkg:deb/dhi/grist

Affected ranges

Affected versions

1.*
1.7.17-0
1.7.17-1
1.7.17-2
1.7.17-3
1.7.17-4
1.7.17-5
1.7.17-6
1.7.19-2
1.7.19-3
1.7.19-4
1.7.19-5
1.7.19-6
1.7.20-0
1.7.20-7
1.7.20-8
1.7.20-9
1.7.20-10
1.7.21-0
1.7.21-1
1.7.21-2
1.7.21-3
1.7.21-4
1.7.21-5
1.7.21-6
1.7.21-7
1.7.21-8
1.7.21-9
1.7.22-1
1.7.22-2
1.7.22-3
1.7.22-4
1.7.22-5
1.7.22-6
1.7.22-7
1.7.22-8
1.7.22-9
1.7.22-10
1.7.22-11
1.7.22-12
1.7.22-13

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"
jupyterhub-k8s-singleuser-sample-fips

Package

Name
jupyterhub-k8s-singleuser-sample-fips
Purl
pkg:deb/dhi/jupyterhub-k8s-singleuser-sample-fips

Affected ranges

Affected versions

4.*
4.4.5-0
4.4.5-1
4.4.5-2
4.4.5-3
4.4.5-4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"
jupyterhub-k8s-singleuser-sample

Package

Name
jupyterhub-k8s-singleuser-sample
Purl
pkg:deb/dhi/jupyterhub-k8s-singleuser-sample

Affected ranges

Affected versions

4.*
4.4.5-0
4.4.5-1
4.4.5-2
4.4.5-3
4.4.5-4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ho26-qeuu-cgjz-36az.json"