undici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokens
影響: npm:undici >= 7.15.0, < 7.30.1 → 7.30.1, npm:undici >= 8.0.0, < 8.12.2 → 8.12.2
undici's fetch() verifies Subresource Integrity (SRI) metadata by looking up the algorithm token in a lowercase-only set, but the SRI specification defines a valid token by its ASCII-lowercase form. A correct but non-lowercase token such as SHA256-... or Sha256-... is therefore treated as unknown and skipped. When no recognized algorithm remains, undici treats the integrity list as empty and accepts the response, so a server that returns a body different from the pinned digest passes the check.…
| CVE | CVE-2026-109841 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/24 13:50 |
| 数据 | Markdown JSON |
2026/10/24 07:12,GitHub Advisory Database 发布了“undici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokens”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js。CVE:CVE-2026-109841。