{"id":"DHI-foca-igow-auva-fzg5","summary":"jsdiff is a JavaScript text differencing implementation. Prior to versions 8.0.3, 5.2.2, 4.0.4, and 3.5.1, attempting…","details":"jsdiff is a JavaScript text differencing implementation. Prior to versions 8.0.3, 5.2.2, 4.0.4, and 3.5.1, attempting to parse a patch whose filename headers contain the line break characters `\\r`, `\\u2028`, or `\\u2029` can cause the `parsePatch` method to enter an infinite loop. It then consumes memory without limit until the process crashes due to running out of memory. Applications are therefore likely to be vulnerable to a denial-of-service attack if they call `parsePatch` with a user-provided patch as input. A large payload is not needed to trigger the vulnerability, so size limits on user input do not provide any protection. Furthermore, some applications may be vulnerable even when calling `parsePatch` on a patch generated by the application itself if the user is nonetheless able to control the filename headers (e.g. by directly providing the filenames of the files to be diffed). The `applyPatch` method is similarly affected if (and only if) called with a string representation of a patch as an argument, since under the hood it parses that string using `parsePatch`. Other methods of the library are unaffected. Finally, a second and lesser interdependent bug - a ReDOS - also exhibits when those same line break characters are present in a patch's *patch* header (also known as its \"leading garbage\"). A maliciously-crafted patch header of length *n* can take `parsePatch` O(*n*³) time to parse. Versions 8.0.3, 5.2.2, 4.0.4, and 3.5.1 contain a fix. As a workaround, do not attempt to parse patches that contain any of these characters: `\\r`, `\\u2028`, or `\\u2029`.","modified":"2026-11-27T02:00:24.047159112Z","published":"2026-11-19T22:01:46Z","upstream":["CVE-2026-24001"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-foca-igow-auva-fzg5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24001"},{"type":"ADVISORY","url":"https://github.com/kpdecker/jsdiff/security/advisories/GHSA-73rr-hh4g-fpgx"},{"type":"FIX","url":"https://github.com/kpdecker/jsdiff/pull/649"},{"type":"FIX","url":"https://github.com/kpdecker/jsdiff/commit/15a1585230748c8ae6f8274c202e0c87309142f5"},{"type":"WEB","url":"https://github.com/kpdecker/jsdiff/issues/653"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-24001"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-73rr-hh4g-fpgx"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-24001"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-24001"}],"affected":[{"package":{"name":"gitlab-rails-18","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/gitlab-rails-18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"18.11.11-r0"}]}],"versions":["18.11.11-r0","18.11.11-r1","18.11.11-r2","18.11.12-r0","18.11.12-r1","18.11.12-r2","18.11.12-r3","18.11.12-r4","18.11.14-r0","18.11.14-r1","18.11.14-r10","18.11.14-r11","18.11.14-r12","18.11.14-r13","18.11.14-r14","18.11.14-r15","18.11.14-r16","18.11.14-r2","18.11.14-r3","18.11.14-r4","18.11.14-r5","18.11.14-r6","18.11.14-r7","18.11.14-r8","18.11.14-r9","18.11.15-r0","18.11.15-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-rails-18","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitlab-rails-18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"18.11.11-r0"}]}],"versions":["18.11.11-r0","18.11.11-r1","18.11.11-r2","18.11.12-r0","18.11.12-r1","18.11.12-r2","18.11.12-r3","18.11.12-r4","18.11.14-r0","18.11.14-r1","18.11.14-r10","18.11.14-r11","18.11.14-r12","18.11.14-r13","18.11.14-r14","18.11.14-r15","18.11.14-r16","18.11.14-r2","18.11.14-r3","18.11.14-r4","18.11.14-r5","18.11.14-r6","18.11.14-r7","18.11.14-r8","18.11.14-r9","18.11.15-r0","18.11.15-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-rails-19","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/gitlab-rails-19"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.8-r0"}]}],"versions":["19.1.8-r0","19.1.8-r1","19.4.1-r0","19.4.1-r1","19.4.1-r2","19.4.1-r3","19.4.2-r0","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.3-r3","19.5.3-r4","19.5.3-r5","19.5.3-r6","19.5.3-r7","19.5.3-r8","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.5-r2","19.5.6-r0","19.5.6-r1","19.6.0-r0","19.6.0-r1","19.6.1-r0","19.6.1-r1","19.6.1-r2","19.6.2-r0","19.6.2-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json","owner_kind":"HSP"}},{"package":{"name":"gitlab-rails-19","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitlab-rails-19"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.8-r0"}]}],"versions":["19.1.8-r0","19.1.8-r1","19.4.1-r0","19.4.1-r1","19.4.1-r2","19.4.1-r3","19.4.2-r0","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.3-r3","19.5.3-r4","19.5.3-r5","19.5.3-r6","19.5.3-r7","19.5.3-r8","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.5-r2","19.5.6-r0","19.5.6-r1","19.6.0-r0","19.6.0-r1","19.6.1-r0","19.6.1-r1","19.6.1-r2","19.6.2-r0","19.6.2-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json","owner_kind":"HSP"}},{"package":{"name":"gitlab-workhorse-fips","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/gitlab-workhorse-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.2-r0"}]}],"versions":["19.1.10-r0","19.1.2-r0","19.1.2-r1","19.1.2-r2","19.1.2-r3","19.1.4-r0","19.1.4-r1","19.1.4-r2","19.1.6-r0","19.1.6-r1","19.1.7-r0","19.1.7-r1","19.1.7-r2","19.1.7-r3","19.1.8-r0","19.1.8-r1","19.1.8-r2","19.1.8-r3","19.1.9-r0","19.1.9-r1","19.1.9-r2","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.6-r0","19.6.0-r0","19.6.1-r0","19.6.1-r1","19.6.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-workhorse-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitlab-workhorse-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.2-r0"}]}],"versions":["19.1.10-r0","19.1.2-r0","19.1.2-r1","19.1.2-r2","19.1.2-r3","19.1.4-r0","19.1.4-r1","19.1.4-r2","19.1.6-r0","19.1.6-r1","19.1.7-r0","19.1.7-r1","19.1.7-r2","19.1.7-r3","19.1.8-r0","19.1.8-r1","19.1.8-r2","19.1.8-r3","19.1.9-r0","19.1.9-r1","19.1.9-r2","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.6-r0","19.6.0-r0","19.6.1-r0","19.6.1-r1","19.6.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-workhorse","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/gitlab-workhorse"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.2-r0"}]}],"versions":["19.1.10-r0","19.1.2-r0","19.1.2-r1","19.1.2-r2","19.1.2-r3","19.1.4-r0","19.1.4-r1","19.1.4-r2","19.1.6-r0","19.1.6-r1","19.1.7-r0","19.1.7-r1","19.1.7-r2","19.1.7-r3","19.1.8-r0","19.1.8-r1","19.1.8-r2","19.1.8-r3","19.1.9-r0","19.1.9-r1","19.1.9-r2","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.6-r0","19.6.0-r0","19.6.1-r0","19.6.1-r1","19.6.2-r0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json","owner_kind":"HSP"}},{"package":{"name":"gitlab-workhorse","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitlab-workhorse"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.2-r0"}]}],"versions":["19.1.10-r0","19.1.2-r0","19.1.2-r1","19.1.2-r2","19.1.2-r3","19.1.4-r0","19.1.4-r1","19.1.4-r2","19.1.6-r0","19.1.6-r1","19.1.7-r0","19.1.7-r1","19.1.7-r2","19.1.7-r3","19.1.8-r0","19.1.8-r1","19.1.8-r2","19.1.8-r3","19.1.9-r0","19.1.9-r1","19.1.9-r2","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.6-r0","19.6.0-r0","19.6.1-r0","19.6.1-r1","19.6.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-rails-18","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/gitlab-rails-18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"18.11.11-0"}]}],"versions":["18.11.11-0","18.11.11-1","18.11.11-2","18.11.12-0","18.11.12-1","18.11.12-2","18.11.14-0","18.11.14-1","18.11.14-10","18.11.14-11","18.11.14-12","18.11.14-13","18.11.14-14","18.11.14-15","18.11.14-16","18.11.14-17","18.11.14-18","18.11.14-19","18.11.14-2","18.11.14-20","18.11.14-21","18.11.14-22","18.11.14-23","18.11.14-24","18.11.14-25","18.11.14-26","18.11.14-27","18.11.14-28","18.11.14-29","18.11.14-3","18.11.14-30","18.11.14-31","18.11.14-32","18.11.14-4","18.11.14-5","18.11.14-6","18.11.14-7","18.11.14-8","18.11.14-9","18.11.15-0","18.11.15-1","18.11.15-2","18.11.15-3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-rails-19","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/gitlab-rails-19"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.8-0"}]}],"versions":["19.1.8-0","19.1.8-1","19.4.1-0","19.4.1-1","19.4.1-2","19.4.2-0","19.5.3-0","19.5.3-1","19.5.3-2","19.5.3-3","19.5.3-4","19.5.3-5","19.5.3-6","19.5.3-7","19.5.3-8","19.5.3-9","19.5.4-0","19.5.4-1","19.5.5-0","19.5.5-1","19.5.5-10","19.5.5-11","19.5.5-2","19.5.5-3","19.5.5-4","19.5.5-5","19.5.5-6","19.5.5-7","19.5.5-8","19.5.5-9","19.5.6-0","19.5.6-1","19.5.6-2","19.5.6-3","19.5.6-4","19.5.6-5","19.6.0-0","19.6.0-1","19.6.0-2","19.6.1-0","19.6.1-1","19.6.1-2","19.6.2-0","19.6.2-1","19.6.2-2","19.6.2-3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-workhorse-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/gitlab-workhorse-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.2-0"}]}],"versions":["19.1.10-0","19.1.2-0","19.1.2-1","19.1.2-2","19.1.2-3","19.1.4-0","19.1.4-1","19.1.4-2","19.1.6-0","19.1.6-1","19.1.7-0","19.1.7-1","19.1.7-2","19.1.7-3","19.1.8-0","19.1.8-1","19.1.8-2","19.1.8-3","19.1.9-0","19.1.9-1","19.1.9-2","19.5.3-0","19.5.3-1","19.5.3-2","19.5.4-0","19.5.4-1","19.5.5-0","19.5.5-1","19.5.6-0","19.6.0-0","19.6.1-0","19.6.1-1","19.6.2-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json"}},{"package":{"name":"gitlab-workhorse","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/gitlab-workhorse"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"19.1.2-0"}]}],"versions":["19.1.10-0","19.1.2-0","19.1.2-1","19.1.2-2","19.1.2-3","19.1.4-0","19.1.4-1","19.1.4-2","19.1.6-0","19.1.6-1","19.1.7-0","19.1.7-1","19.1.7-2","19.1.7-3","19.1.8-0","19.1.8-1","19.1.8-2","19.1.8-3","19.1.9-0","19.1.9-1","19.1.9-2","19.5.3-0","19.5.3-1","19.5.3-2","19.5.4-0","19.5.4-1","19.5.5-0","19.5.5-1","19.5.6-0","19.6.0-0","19.6.1-0","19.6.1-1","19.6.2-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-foca-igow-auva-fzg5.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/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"}]}