Skip to content

[MEDIUM] Pin AJV to fixed releases - #58344

Open
OskarEichler wants to merge 1 commit into
react:mainfrom
OskarEichler:codex/security-ajv
Open

OskarEichler wants to merge 1 commit into
react:mainfrom
OskarEichler:codex/security-ajv

Conversation

@OskarEichler

@OskarEichler OskarEichler commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • update AJV 6.x consumers to 6.15.0
  • update AJV 8.x consumers to 8.20.0
  • add targeted resolutions for the two API Extractor dependencies whose tilde ranges otherwise retain vulnerable AJV 8 minors
  • deduplicate the three AJV 8 lockfile entries into one installation

Security impact

AJV versions before 6.14.0 and AJV 8 versions before 8.18.0 are affected by GHSA-2g4f-4pwh-qvx6, a ReDoS when the $data option is enabled. Both installed major lines are moved past their patched versions.

Test Plan

  • yarn install --frozen-lockfile --ignore-scripts
  • yarn why ajv confirmed only 6.15.0 and 8.20.0
  • yarn audit no longer reports AJV advisories
  • yarn lint
  • yarn build-types --validate
  • JS API tooling: 22 suites, 153 tests, 131 snapshots passed
  • git diff --check

Changelog:

[INTERNAL] [SECURITY] - Pin AJV to fixed releases.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant