fix(aws-cdk-lib): upgrade version of ajv that triggers CVE scanners#37022
fix(aws-cdk-lib): upgrade version of ajv that triggers CVE scanners#37022mergify[bot] merged 4 commits intomainfrom
ajv that triggers CVE scanners#37022Conversation
Upgrade `ajv` to `8.18.0`, which is version that is not vulnerable to a ReDoS attack anymore. Note that CDK never had an actual vulnerability in the first place because the input was not attacker-controlled, but CVE scanners will flag this finding regardless.
Abogical
left a comment
There was a problem hiding this comment.
There is a build error related to ajv: https://github.com/aws/aws-cdk/actions/runs/22144520835/job/64017685124?pr=37022#step:9:578
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
|
FYI - in case it is helpful: This error seams to be related to ajv upgrade from v6 to v8: In |
ajv that triggers CVE scannersajv that triggers CVE scanners
|
We didn't actually need an override, the dependency of |
Your "change requested" was that the build doesn't pass. It passes now.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Merge Queue StatusRule:
This pull request spent 31 minutes 22 seconds in the queue, including 31 minutes 11 seconds running CI. Required conditions to merge
|
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Upgrade
ajvto8.18.0, which is version that is not vulnerable to a ReDoS attack anymore.Note that CDK never had an actual vulnerability in the first place because the input was not attacker-controlled, but CVE scanners will flag this finding regardless.
This overrides the package in our repository, the dependency that gets installed at build time is bundled into the final
aws-cdk-libtarball.Closes #36989
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license