Skip to content

fix(deps): patch js-yaml and kotlin-gradle-plugin security advisories - #85

Merged
stevenfackley merged 1 commit into
mainfrom
fix/security-advisories
Aug 15, 2026
Merged

fix(deps): patch js-yaml and kotlin-gradle-plugin security advisories#85
stevenfackley merged 1 commit into
mainfrom
fix/security-advisories

Conversation

@stevenfackley

Copy link
Copy Markdown
Owner

Closes both open Dependabot alerts.

Alert #56 - HIGH - js-yaml (GHSA-5p4m-2wfm-xmqj)

Quadratic CPU consumption in !!omap resolution. Transitive dep of astro/@astrojs/mdx in site/; bumped 4.3.0 -> 4.3.1 (npm update js-yaml). Both dependency chains dedupe to the patched version - verified with npm ls js-yaml. npm ci and npm run build both 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 - pass
  • detekt - pass
  • lint - pass
  • assembleRelease (R8 minify) - pass

Will re-pin to a stable 2.4.20 once JetBrains ships one.

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.
@stevenfackley
stevenfackley merged commit e931119 into main Aug 15, 2026
9 checks passed
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.

1 participant