Skip to content

Fix CVE-2025-69873 by updating ajv to patched versions#654

Open
sbouchet wants to merge 6 commits intoche-incubator:mainfrom
sbouchet:CVE-2025-69873
Open

Fix CVE-2025-69873 by updating ajv to patched versions#654
sbouchet wants to merge 6 commits intoche-incubator:mainfrom
sbouchet:CVE-2025-69873

Conversation

@sbouchet
Copy link
Collaborator

@sbouchet sbouchet commented Feb 23, 2026

What does this PR do?

This PR fixes CVE-2025-69873: ReDoS via $data reference

ajv version is updated to 8.18.0

What issues does this PR fix?

https://issues.redhat.com/browse/CRW-10189
https://issues.redhat.com/browse/CRW-10193

How to test this PR?

Does this PR contain changes that override default upstream Code-OSS behavior?

  • the PR contains changes in the code folder (you can skip it if your changes are placed in a che extension )
  • the corresponding items were added to the CHANGELOG.md file
  • rules for automatic git rebase were added to the .rebase folder

Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
@github-actions
Copy link

github-actions bot commented Feb 23, 2026

Click here to review and test in web IDE: Contribute

Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
@sbouchet sbouchet marked this pull request as ready for review February 23, 2026 17:44
@github-actions
Copy link

1 similar comment
@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

Copy link
Collaborator

@RomanNikitenko RomanNikitenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbouchet
I still see ajv 6.12.6 in different places:

  • code/test/mcp/package-lock.json
  • code/package-lock.json
  • launcher/package-lock.json
  • code/extensions/che-remote/package-lock.json

could you double-check if we need changes for those places as well
thanks in advance!

@RomanNikitenko
Copy link
Collaborator

about

axios version is updated to 1.13.5

in the PR description

I guess it's copy-paste problem

@sbouchet
Copy link
Collaborator Author

@RomanNikitenko :

  • description fixed
  • for ajv 6.x, i'm working on override it too, nice catch as always. the thing is i need to do deep verifications as the move from two majors version update may break stuff.

@sbouchet
Copy link
Collaborator Author

sbouchet commented Feb 26, 2026

@sbouchet I still see ajv 6.12.6 in different places:

  • code/test/mcp/package-lock.json
  • code/package-lock.json
  • launcher/package-lock.json
  • code/extensions/che-remote/package-lock.json

could you double-check if we need changes for those places as well thanks in advance!

even better i found that the maintainers have published a fix for this ! 6.14.0 will be

Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
@github-actions
Copy link

1 similar comment
@github-actions
Copy link

@RomanNikitenko RomanNikitenko self-requested a review February 27, 2026 08:37
},
"lodash": "^4.17.23"
"lodash": "^4.17.23",
"ajv": "6.14.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License check failed:

Image

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.

2 participants