LTS-4004: bump form-data to 4.0.6 — fixes CRLF injection (GHSA-hmw2-7cc7-3qxx)#17
Open
prasadthx wants to merge 1 commit into
Open
LTS-4004: bump form-data to 4.0.6 — fixes CRLF injection (GHSA-hmw2-7cc7-3qxx)#17prasadthx wants to merge 1 commit into
prasadthx wants to merge 1 commit into
Conversation
…cc7-3qxx) form-data through 4.0.5 concatenates field names/filenames into the Content-Disposition header without escaping CR, LF, or " (CWE-93, CVSS 7.5). Patched in 4.0.6, which escapes them per the WHATWG multipart algorithm. Lockfile-only bump of the transitive dev-dependency form-data 4.0.4 -> 4.0.6 (adds nested hasown@2.0.4, the sole new sub-dependency; every other 4.0.6 requirement is already satisfied by the existing tree). No package.json or source changes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps the transitive dev-dependency
form-datato the patched release in the lockfile:node_modules/form-dataAdds nested
hasown@2.0.4— the sole new sub-dependency ofform-data@4.0.6. Every other 4.0.6 requirement (asynckit,combined-stream,es-set-tostringtag,mime-types@2.1.35) is already satisfied by the existing tree.Why
Resolves GHSA-hmw2-7cc7-3qxx — CRLF injection in
form-datavia unescaped multipart field names and filenames (CWE-93, CVSS 7.5). Patched in 4.0.6, which escapes\r,\n, and"per the WHATWGmultipart/form-dataalgorithm.Jira: LTS-4004
Notes
form-datais not a direct dependency — it's pulled in transitively by dev tooling. The patched version satisfies the existing semver range, so there is nopackage.jsonchange.package-lock.json-only change,+35 / −10. No runtime or source changes.mainand went conflicting after the LTS-3295 SDK bump rewrote the lockfile. This branch is rebased on currentmain, giving a minimal, conflict-free diff (no incidentalpuppeteer-corechurn).🤖 Generated with Claude Code