DHI-fh4s-zoih-tev7-rfyr

Source
https://scout.docker.com/v/DHI-fh4s-zoih-tev7-rfyr
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fh4s-zoih-tev7-rfyr.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-fh4s-zoih-tev7-rfyr
Upstream
Published
2026-11-14T00:31:57Z
Modified
2026-11-21T14:30:26Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
## Summary
Details

Summary

In lib/handlebars/runtime.js, the container.lookup() function uses container.lookupProperty() as a gate check to enforce prototype-access controls, but then discards the validated result and performs a second, unguarded property access (depths[i][name]). This Time-of-Check Time-of-Use (TOCTOU) pattern means the security check and the actual read are decoupled, and the raw access bypasses any sanitization that lookupProperty may perform.

Only relevant when the compat compile option is enabled ({compat: true}), which activates depthedLookup in lib/handlebars/compiler/javascript-compiler.js.

Description

The vulnerable code in lib/handlebars/runtime.js (lines 137–144):

lookup: function (depths, name) {
  const len = depths.length;
  for (let i = 0; i < len; i++) {
    let result = depths[i] && container.lookupProperty(depths[i], name);
    if (result != null) {
      return depths[i][name];  // BUG: should be `return result;`
    }
  }
},

container.lookupProperty() (lines 119–136) enforces hasOwnProperty checks and resultIsAllowed() prototype-access controls. However, container.lookup() only uses lookupProperty as a boolean gate — if the gate passes (result != null), it then performs an independent, raw depths[i][name] access that circumvents any transformation or wrapped value that lookupProperty may have returned.

Workarounds

  • Avoid enabling { compat: true } when rendering templates that include untrusted data.
  • Ensure context data objects are plain JSON (no Proxies, no getter-based accessor properties).
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-fh4s-zoih-tev7-rfyr.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-fh4s-zoih-tev7-rfyr.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-fh4s-zoih-tev7-rfyr.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-fh4s-zoih-tev7-rfyr.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-fh4s-zoih-tev7-rfyr.json"
superset

Package

Name
superset
Purl
pkg:deb/dhi/superset

Affected ranges

Affected versions

6.*
6.1.0-0
6.1.0-1
6.1.0-2
6.1.0-3
6.1.0-4
6.1.0-5
6.1.0-6
6.1.0-7
6.1.0-8
6.1.0-9
6.1.0-10
6.1.0-11
6.1.0-12
6.1.0-13
6.1.0-14
6.1.0-15
6.1.0-16
6.1.0-17
6.1.0-18
6.1.0-19
6.1.0-20
6.1.0-21
6.1.0-22
6.1.0-23
6.1.0-24
6.1.0-25
6.1.0-26
6.1.0-27
6.1.0-28
6.1.0-29
6.1.0-30
6.1.0-31
6.1.0-32
6.1.0-33
6.1.0-34
6.1.0-35
6.1.0-36
6.1.0-37
6.1.0-38
6.1.0-39
6.1.0-40
6.1.0-41
6.1.0-42

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fh4s-zoih-tev7-rfyr.json"