Skip to content

Commit 45662ba

Browse files
authored
fix(aws-cdk-lib): upgrade version of ajv that triggers CVE scanners (#37022)
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. This overrides the package in our repository, the dependency that gets installed at build time is bundled into the final `aws-cdk-lib` tarball. Closes #36989 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent bf21098 commit 45662ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5914,9 +5914,9 @@ ajv@^6, ajv@^6.12.4:
59145914
uri-js "^4.2.2"
59155915

59165916
ajv@^8.0.1, ajv@^8.17.1:
5917-
version "8.17.1"
5918-
resolved "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
5919-
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
5917+
version "8.18.0"
5918+
resolved "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz#8864186b6738d003eb3a933172bb3833e10cefbc"
5919+
integrity sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==
59205920
dependencies:
59215921
fast-deep-equal "^3.1.3"
59225922
fast-uri "^3.0.1"

0 commit comments

Comments
 (0)