Skip to content

AAP-19943: bump form-data to 4.0.6 in /android (fix CRLF injection GHSA-hmw2-7cc7-3qxx)#68

Merged
rajpatta merged 3 commits into
mainfrom
AAP_19943_form_data_crlf_fix
Jul 21, 2026
Merged

AAP-19943: bump form-data to 4.0.6 in /android (fix CRLF injection GHSA-hmw2-7cc7-3qxx)#68
rajpatta merged 3 commits into
mainfrom
AAP_19943_form_data_crlf_fix

Conversation

@vaikesh07

@vaikesh07 vaikesh07 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

JIRA

AAP-19943 (parent: SC-1097 Dependabot Alerts Tracker)

What

Resolves the form-data CRLF-injection advisory in android/:

  • Advisory: GHSA-hmw2-7cc7-3qxx — CWE-93, CVSS 7.5
  • Fix: added "form-data": ">=4.0.6" to android/package.json overrides and regenerated the lockfile in place.

Before, android/package-lock.json had three vulnerable copies:

Path Was Now
node_modules/form-data 4.0.5 4.0.6
node_modules/jsdom/node_modules/form-data 3.0.4 deduped → 4.0.6
node_modules/@types/request/node_modules/form-data 2.5.5 deduped → 4.0.6

All now resolve to a single form-data@4.0.6; npm audit no longer flags form-data. Only incidental change is a transitive hasown 2.0.2→2.0.4 bump.

Risk / notes

  • form-data is a dev/tooling transitive here (SDK/jest), used only with fixed, trusted field names — the exploit precondition (untrusted field name/filename) is not met, so this is not practically exploitable in this sample repo. Patching to satisfy the Vulnerability Patch Management SLA and clear the Dependabot alert.
  • Lockfile regenerated with npm install --package-lock-only (minimal in-place diff).
  • Not run locally: npm test requires BrowserStack credentials + real devices; CI will validate.

Note

The /ios directory is affected by the same advisory — tracked separately by Dependabot PR #66.

🤖 Generated with Claude Code

…-3qxx)

Add `form-data: >=4.0.6` to android/overrides so all transitive copies
(4.0.5, jsdom's 3.0.4, @types/request's 2.5.5) resolve to the patched
4.0.6, closing the CWE-93 CRLF-injection advisory (CVSS 7.5).
Regenerated lockfile in place; form-data is now a single 4.0.6 entry and
no longer flagged by `npm audit`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rajpatta
rajpatta merged commit 7410afd into main Jul 21, 2026
5 checks passed
@rajpatta
rajpatta deleted the AAP_19943_form_data_crlf_fix branch July 21, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants