Skip to content

[Diagnostic, do not merge] Commit Gradle dependency lockfile so Snyk sees resolved versions - #1272

Draft
devin-ai-integration[bot] wants to merge 9 commits into
upgrade/java17-boot3from
devin/unt-13-gradle-lockfile
Draft

devin-ai-integration[bot] wants to merge 9 commits into
upgrade/java17-boot3from
devin/unt-13-gradle-lockfile

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

This is a diagnostic draft for UNT-13 part 3. Do not merge. It is based on upgrade/java17-boot3 so that Snyk compares it the same way it compares #1252. It contains the #1252 stack head (81795ad2) plus one commit.

Hypothesis: Snyk's GitHub check parses build.gradle without running Gradle. It may then miss overrides such as ext['tomcat.version'] = '10.1.62' and ext['jackson-bom.version'] and see Boot-managed versions instead, or it may not apply .snyk. A committed gradle.lockfile gives Snyk the exact resolved versions.

dependencyLocking {
    lockAllConfigurations()
}

gradle.lockfile was generated with ./gradlew dependencies --write-locks on JDK 17. It records tomcat-embed-core:10.1.62, jackson-databind:2.21.7, spring-webmvc:6.2.19 and spring-graphql:1.4.6, the same versions Gradle resolves today. There are no version changes and no new ignores; .snyk is unchanged with its 10 approved entries.

Local check on JDK 17: ./gradlew clean spotlessCheck test passes (77 tests, 0 failures).

Link to Devin session: https://devin-gtm.devinenterprise.com/sessions/c41fb509304f43fd9546fd698a4c8c67
Open in Devin Desktop: https://devin-gtm.devinenterprise.com/desktop/session/c41fb509304f43fd9546fd698a4c8c67?variant=devin
Requested by: @joeloshea-cog

devin-ai-integration Bot and others added 9 commits November 16, 2026 19:35
…sqlite-jdbc 3.49.1.0

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>
…26-24734 fixes

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>
…1264)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: joel.oshea <joel.oshea@cognition.ai>
… REST Assured 5.5.7) (#1265)

* Apply OpenRewrite UpgradeSpringBoot_3_5 recipe (rewrite-spring via rewrite-recipe-bom 3.37.0)

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>

* Finish Boot 3.5 upgrade by hand: DGS 10.6.0, MyBatis 3.0.5, Boot-managed REST Assured 5.5.7, sqlite-jdbc 3.54.1.0, permit ERROR dispatch, unwrapped JSON for /graphql

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>

* Override Boot-managed Jackson (2.21.7) and Tomcat (10.1.59) to patch releases that fix new advisories

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: joel.oshea <joel.oshea@cognition.ai>
…aphql, empty error locations, trailing slashes) (#1266)

* Restore baseline GraphQL and REST behaviour on Boot 3: application/graphql bodies, empty error locations, trailing-slash URLs

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>

* Convert raw application/graphql bodies on /graphql/ too

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>

* Match the baseline content type for empty application/graphql bodies

Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: joel.oshea <joel.oshea@cognition.ai>
… (expires 2027-02-15) (#1269)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: joel.oshea <joel.oshea@cognition.ai>
…-core 10.1.59) (#1270)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: joel.oshea <joel.oshea@cognition.ai>
…xes (expire 2027-02-15) (#1271)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: joel.oshea <joel.oshea@cognition.ai>
Co-Authored-By: joel.oshea <joel.oshea@cognition.ai>
@devin-ai-integration

Copy link
Copy Markdown
Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednet.bytebuddy/​byte-buddy@​1.17.82810090100100
Addednet.bytebuddy/​byte-buddy-agent@​1.17.82810090100100
Addedorg.flywaydb/​flyway-core@​11.7.22910090100100
Addedcom.fasterxml.jackson.datatype/​jackson-datatype-jdk8@​2.21.7361009010080
Addedcom.fasterxml.jackson.datatype/​jackson-datatype-jsr310@​2.21.7361009010080
Addedcom.fasterxml.jackson.module/​jackson-module-kotlin@​2.21.73610090100100
Addedorg.apache.groovy/​groovy-json@​4.0.323610090100100
Addedorg.apache.httpcomponents/​httpcore@​4.4.163610090100100
Addedorg.junit.platform/​junit-platform-launcher@​1.12.2361009010070
Addedorg.projectlombok/​lombok@​1.18.463610090100100
Addedorg.springframework/​spring-websocket@​6.2.193610090100100
Addedorg.xerial/​sqlite-jdbc@​3.54.1.03610090100100
Addedio.rest-assured/​spring-mock-mvc@​5.5.74110090100100
Addedorg.springframework.security/​spring-security-test@​6.5.114110090100100
Addedorg.apache.commons/​commons-lang3@​3.17.0559990100100
Addedorg.apache.groovy/​groovy-xml@​4.0.325510090100100
Addedio.projectreactor.kotlin/​reactor-kotlin-extensions@​1.2.66310090100100
Addedjoda-time/​joda-time@​2.10.13661009010080
Addedorg.junit/​junit-bom@​5.12.21001009010070
Addedcom.fasterxml.jackson.dataformat/​jackson-dataformat-toml@​2.21.7781009010080
Addedcom.fasterxml.jackson.module/​jackson-module-parameter-names@​2.21.7971009010080
Addedcom.fasterxml/​classmate@​1.7.31001009010080
Addedio.jsonwebtoken/​jjwt-impl@​0.11.28110090100100
Addedcommons-codec/​commons-codec@​1.18.08210090100100
Addedcom.netflix.graphql.dgs/​graphql-dgs-platform@​10.6.010010090100100
Addedcom.fasterxml.jackson/​jackson-bom@​2.21.710010090100100
Addedcom.netflix.graphql.dgs/​graphql-dgs-spring-graphql-starter@​10.6.010010090100100
Addedio.jsonwebtoken/​jjwt-jackson@​0.11.29610090100100
Addedorg.apache.groovy/​groovy-bom@​4.0.3210010090100100
Addedorg.jboss.logging/​jboss-logging@​3.6.3.Final9510090100100
Addedorg.jetbrains.kotlinx/​kotlinx-coroutines-bom@​1.8.110010090100100
Addedorg.mybatis.spring.boot/​mybatis-spring-boot-starter-test@​3.0.59710090100100
See 9 more rows in the dashboard

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
Medium priority
Critical CVE: Spring Framework Server Sent Event stream corruption while rendering fragments in maven org.springframework:spring-webmvc

CVE: GHSA-j9f9-w8pj-32f8 Spring Framework Server Sent Event stream corruption while rendering fragments (CRITICAL)

Affected versions: >= 6.2.0 <= 6.2.19; >= 7.0.0 < 7.0.9

Patched version: No patched versions

From: gradle.lockfile → maven/org.springframework.boot/spring-boot-starter-hateoas@3.5.16 → maven/org.springframework/spring-webmvc@6.2.19

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.springframework/spring-webmvc@6.2.19. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Medium priority
Critical CVE: Spring Framework Improper Path Limitation in XsltView in maven org.springframework:spring-webmvc

CVE: GHSA-pc63-qcmh-9cmg Spring Framework Improper Path Limitation in XsltView (CRITICAL)

Affected versions: <= 5.2.25.RELEASE; >= 5.3.0 <= 5.3.49; >= 6.0.0 <= 6.0.30; >= 6.1.0 <= 6.1.28; >= 6.2.0 <= 6.2.19; >= 7.0.0 < 7.0.9

Patched version: No patched versions

From: gradle.lockfile → maven/org.springframework.boot/spring-boot-starter-hateoas@3.5.16 → maven/org.springframework/spring-webmvc@6.2.19

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.springframework/spring-webmvc@6.2.19. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

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