Skip to content

Commit 6726f4f

Browse files
authored
fix(deps): raise JS test-harness CVE floors for the 2026-08-19 Dependabot alerts (#65)
Five new HIGH alerts landed against kotlin-js-store/yarn.lock, all in the karma/webpack/mocha test harness for the JS target — dev-time only, nothing here ships in published artifacts. Renovate cannot fix these (the lockfile is generated by the Kotlin Gradle plugin; no package.json exists for its npm manager) and Dependabot is deliberately disabled for this directory, so the floors are raised as yarn resolutions, same as the previous two rounds (#5, #21): - brace-expansion 2.1.2 -> 2.1.4 (GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895) - fast-uri 3.1.4 -> 3.1.5 (GHSA-7p8r-x3mc-p8w7) - js-yaml 4.3.0 -> 4.3.1 (GHSA-5p4m-2wfm-xmqj) - socket.io-parser new floor 4.2.7 (GHSA-2m8v-j782-fhvr) Lockfile regenerated with the kotlinUpgradeYarnLock Gradle task; jsTest passes. Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
1 parent 6555e2a commit 6726f4f

2 files changed

Lines changed: 20 additions & 19 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,10 @@ plugins.withType<org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin> {
198198
resolution("serialize-javascript", "7.0.5") // RCE (< 7.0.3) + CPU-exhaustion DoS (< 7.0.5)
199199
resolution("webpack", "5.104.1") // buildHttp allow-list bypasses (< 5.104.1)
200200
resolution("diff", "8.0.3") // parsePatch/applyPatch DoS (< 8.0.3)
201-
resolution("brace-expansion", "2.1.2") // Dependabot HIGH ReDoS (< 1.1.16 / < 2.1.2)
202-
resolution("fast-uri", "3.1.4") // Dependabot HIGH (< 3.1.3 / < 3.1.4)
203-
resolution("js-yaml", "4.3.0") // Dependabot HIGH (< 4.3.0)
201+
resolution("brace-expansion", "2.1.4") // Dependabot HIGH ReDoS + OOM DoS (< 2.1.4)
202+
resolution("fast-uri", "3.1.5") // Dependabot HIGH host confusion (< 3.1.5)
203+
resolution("js-yaml", "4.3.1") // Dependabot HIGH quadratic CPU in !!omap (< 4.3.1)
204204
resolution("body-parser", "1.20.6") // Dependabot LOW (< 1.20.6)
205+
resolution("socket.io-parser", "4.2.7") // Dependabot HIGH memory-exhaustion DoS (< 4.2.7)
205206
}
206207
}

kotlin-js-store/yarn.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,10 @@ body-parser@1.20.6, body-parser@^1.19.0:
376376
type-is "~1.6.18"
377377
unpipe "~1.0.0"
378378

379-
brace-expansion@2.1.2, brace-expansion@^1.1.7, brace-expansion@^2.0.2:
380-
version "2.1.2"
381-
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.2.tgz#0bba2271feb7d458b0d31ad13625aaa4754431e2"
382-
integrity sha512-w5JZcKgdhDOgOwm8H+KgbosopHMuGcl6qbulwjtz3SM7I7P3yW1eAjzMPLrIE+NQ9vjgANKHWeMHnrT0OXW1oA==
379+
brace-expansion@2.1.4, brace-expansion@^1.1.7, brace-expansion@^2.0.2:
380+
version "2.1.4"
381+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.4.tgz#589dab11c0018d0366be64cd8bf12c8dbecc8326"
382+
integrity sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==
383383
dependencies:
384384
balanced-match "^1.0.0"
385385

@@ -792,10 +792,10 @@ fast-deep-equal@^3.1.3:
792792
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
793793
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
794794

795-
fast-uri@3.1.4, fast-uri@^3.0.1:
796-
version "3.1.4"
797-
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.4.tgz#3b3daf9ce68f41f956df0b505132c0cfce9ec7af"
798-
integrity sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==
795+
fast-uri@3.1.5, fast-uri@^3.0.1:
796+
version "3.1.5"
797+
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.5.tgz#610f37419a030270430cecd68d74e3d4d96725d0"
798+
integrity sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==
799799

800800
fastest-levenshtein@^1.0.12:
801801
version "1.0.16"
@@ -1155,10 +1155,10 @@ jest-worker@^27.4.5:
11551155
merge-stream "^2.0.0"
11561156
supports-color "^8.0.0"
11571157

1158-
js-yaml@4.3.0, js-yaml@^4.1.0:
1159-
version "4.3.0"
1160-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.0.tgz#d1900572a7f7cf0b5f540c83673e60bad3436592"
1161-
integrity sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==
1158+
js-yaml@4.3.1, js-yaml@^4.1.0:
1159+
version "4.3.1"
1160+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.1.tgz#01216c001d67f48e2cd560d708c7af21090a3848"
1161+
integrity sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==
11621162
dependencies:
11631163
argparse "^2.0.1"
11641164

@@ -1743,10 +1743,10 @@ socket.io-adapter@~2.5.2:
17431743
debug "~4.4.1"
17441744
ws "~8.21.0"
17451745

1746-
socket.io-parser@~4.2.4:
1747-
version "4.2.6"
1748-
resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.2.6.tgz#19156bf179af3931abd05260cfb1491822578a6f"
1749-
integrity sha512-asJqbVBDsBCJx0pTqw3WfesSY0iRX+2xzWEWzrpcH7L6fLzrhyF8WPI8UaeM4YCuDfpwA/cgsdugMsmtz8EJeg==
1746+
socket.io-parser@4.2.7, socket.io-parser@~4.2.4:
1747+
version "4.2.7"
1748+
resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.2.7.tgz#679e51fe24d1c81df90fc5f7efe4a5f432fe99c0"
1749+
integrity sha512-IH/iSeO9T6gz1KkFleGDWkG9N3dl4jXVYUtMhIqH10Md0ttMer8nUNWiP1DKuNrybD2xBrixLJdCC9J6ECoYkg==
17501750
dependencies:
17511751
"@socket.io/component-emitter" "~3.1.0"
17521752
debug "~4.4.1"

0 commit comments

Comments
 (0)