Skip to content

[Snyk] Security upgrade io.dropwizard:dropwizard-core from 2.0.0 to 4.0.17#5254

Open
bogarin wants to merge 1 commit into
masterfrom
snyk-fix-ff9ea78ab7154bee7c1aa5ca45a0a208
Open

[Snyk] Security upgrade io.dropwizard:dropwizard-core from 2.0.0 to 4.0.17#5254
bogarin wants to merge 1 commit into
masterfrom
snyk-fix-ff9ea78ab7154bee7c1aa5ca45a0a208

Conversation

@bogarin

@bogarin bogarin commented Feb 3, 2026

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the maven dependencies of this project.

Snyk changed the following file(s):

  • dropwizard/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
medium severity External Initialization of Trusted Variables or Data Stores
SNYK-JAVA-CHQOSLOGBACK-13169722
  509   io.dropwizard:dropwizard-core:
2.0.0 -> 4.0.17
Major version upgrade No Known Exploit
low severity External Initialization of Trusted Variables or Data Stores
SNYK-JAVA-CHQOSLOGBACK-15062482
  376   io.dropwizard:dropwizard-core:
2.0.0 -> 4.0.17
Major version upgrade No Known Exploit

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copilot AI review requested due to automatic review settings February 3, 2026 02:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Dropwizard from version 2.0.0 to 4.0.17 to address two security vulnerabilities in the logback dependency (SNYK-JAVA-CHQOSLOGBACK-13169722 and SNYK-JAVA-CHQOSLOGBACK-15062482). The PR also includes minor XML formatting changes to the Maven Shade Plugin configuration.

Changes:

  • Upgraded io.dropwizard:dropwizard-core dependency from 2.0.0 to 4.0.17
  • Reformatted Maven Shade Plugin transformer configuration for improved readability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dropwizard/pom.xml

<properties>
<dropwizard.version>2.0.0</dropwizard.version>
<dropwizard.version>4.0.17</dropwizard.version>

Copilot AI Feb 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This major version upgrade from Dropwizard 2.0.0 to 4.0.17 introduces breaking changes that require code modifications. Dropwizard 4.x migrated from Java EE (javax.) to Jakarta EE (jakarta.) namespaces. The existing code uses javax.validation.constraints.NotNull in BasicConfiguration.java and javax.ws.rs.* in BrandResource.java, which need to be updated to jakarta.validation.constraints.NotNull and jakarta.ws.rs.* respectively. Additionally, Dropwizard 4.x requires Java 11 or later, but this project is configured to use Java 1.8 (see pom.xml line 1454).

Suggested change
<dropwizard.version>4.0.17</dropwizard.version>
<dropwizard.version>4.0.17</dropwizard.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

Copilot uses AI. Check for mistakes.
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.

3 participants