{"id":"DHI-utel-a37b-twsj-szxd","summary":"## Summary","details":"## Summary\n\nThe prototype method blocklist in `lib/handlebars/internal/proto-access.js` blocks `constructor`, `__defineGetter__`, `__defineSetter__`, and `__lookupGetter__`, but omits the symmetric `__lookupSetter__`. This omission is only exploitable when the non-default runtime option `allowProtoMethodsByDefault: true` is explicitly set — in that configuration `__lookupSetter__` becomes accessible while its counterparts remain blocked, creating an inconsistent security boundary.\n\n`4.6.0` is the version that introduced `protoAccessControl` and the `allowProtoMethodsByDefault` runtime option.\n\n## Description\n\nIn `lib/handlebars/internal/proto-access.js`:\n\n```javascript\nconst methodWhiteList = Object.create(null);\nmethodWhiteList['constructor']      = false;\nmethodWhiteList['__defineGetter__'] = false;\nmethodWhiteList['__defineSetter__'] = false;\nmethodWhiteList['__lookupGetter__'] = false;\n// __lookupSetter__ intentionally blocked in CVE-2021-23383,\n// but omitted here — creating an asymmetric blocklist\n```\n\nAll four legacy accessor helpers (`__defineGetter__`, `__defineSetter__`, `__lookupGetter__`, `__lookupSetter__`) were involved in the exploit chain addressed by CVE-2021-23383. Three of the four were explicitly blocked; `__lookupSetter__` was left out.\n\nWhen `allowProtoMethodsByDefault: true` is set, any prototype method **not present** in `methodWhiteList` is permitted by default. Because `__lookupSetter__` is absent from the list, it passes the `checkWhiteList` check and is accessible in templates, while `__lookupGetter__` (its sibling) is correctly denied.\n\n## Workarounds\n\n- Do **not** set `allowProtoMethodsByDefault: true`. The default configuration is not affected.\n- If `allowProtoMethodsByDefault` must be enabled, ensure templates do not reference  `__lookupSetter__` through untrusted input.","modified":"2026-11-21T14:30:46.693422108Z","published":"2026-11-14T00:31:57Z","upstream":["GHSA-7rx3-28cr-v5wh"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-utel-a37b-twsj-szxd"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7rx3-28cr-v5wh"},{"type":"ADVISORY","url":"https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-7rx3-28cr-v5wh"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-765h-qjxv-5f44"},{"type":"WEB","url":"https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9"}],"affected":[{"package":{"name":"jupyterhub-k8s-singleuser-sample-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/jupyterhub-k8s-singleuser-sample-fips"},"versions":["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-utel-a37b-twsj-szxd.json"}},{"package":{"name":"jupyterhub-k8s-singleuser-sample","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/jupyterhub-k8s-singleuser-sample"},"versions":["4.4.5-r0","4.4.5-r1","4.4.5-r2","4.4.5-r3","4.4.5-r4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-utel-a37b-twsj-szxd.json","owner_kind":"HSP"}},{"package":{"name":"datahub-ingestion","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datahub-ingestion"},"versions":["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-utel-a37b-twsj-szxd.json"}},{"package":{"name":"jupyterhub-k8s-singleuser-sample-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/jupyterhub-k8s-singleuser-sample-fips"},"versions":["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-utel-a37b-twsj-szxd.json"}},{"package":{"name":"jupyterhub-k8s-singleuser-sample","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/jupyterhub-k8s-singleuser-sample"},"versions":["4.4.5-0","4.4.5-1","4.4.5-2","4.4.5-3","4.4.5-4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-utel-a37b-twsj-szxd.json","owner_kind":"HSP"}},{"package":{"name":"superset","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/superset"},"versions":["6.1.0-0","6.1.0-1","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-2","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-3","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-4","6.1.0-40","6.1.0-41","6.1.0-42","6.1.0-5","6.1.0-6","6.1.0-7","6.1.0-8","6.1.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-utel-a37b-twsj-szxd.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}