fix(deps): patch js-yaml and kotlin-gradle-plugin security advisories - #85
Merged
Conversation
js-yaml 4.3.0 -> 4.3.1 in site/package-lock.json fixes GHSA-5p4m-2wfm-xmqj (quadratic CPU in !!omap resolution, high severity). kotlin-gradle-plugin 2.4.10 -> 2.4.20-RC fixes GHSA-r937-wjx7-w2jp (unsafe deserialization in build cache metadata, medium severity, CVE-2026-53914). No stable 2.4.20 exists yet upstream (Beta1/Beta2/RC only) - RC is the newest available and still satisfies the patched range (>= 2.4.20-Beta1). Verified clean via testDebugUnitTest, lint, detekt, and assembleRelease.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes both open Dependabot alerts.
Alert #56 - HIGH - js-yaml (GHSA-5p4m-2wfm-xmqj)
Quadratic CPU consumption in
!!omapresolution. Transitive dep of astro/@astrojs/mdx insite/; bumped 4.3.0 -> 4.3.1 (npm update js-yaml). Both dependency chains dedupe to the patched version - verified withnpm ls js-yaml.npm ciandnpm run buildboth pass clean.Alert #58 - MEDIUM - org.jetbrains.kotlin:kotlin-gradle-plugin (GHSA-r937-wjx7-w2jp / CVE-2026-53914)
Unsafe deserialization in build cache metadata. Bumped 2.4.10 -> 2.4.20-RC in
gradle/libs.versions.toml.Note: there is no stable 2.4.20 release yet upstream - only Beta1, Beta2, and RC are published on Maven Central (confirmed via maven-metadata.xml). The advisory's
first_patched_version(2.4.20-Beta1) is itself a pre-release; this is almost certainly why Dependabot's own update job failed repeatedly trying to author this bump. Went with 2.4.20-RC as the newest/most-stable available patched build. Verified locally (JDK 17):testDebugUnitTest- passdetekt- passlint- passassembleRelease(R8 minify) - passWill re-pin to a stable 2.4.20 once JetBrains ships one.