Skip to content

Conversation

@sb-benohe
Copy link
Collaborator

snyk-top-banner

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

Snyk changed the following file(s):

  • apps/pom.xml

Merge Risk: High

This upgrade introduces significant breaking changes in Testcontainers 2.0.0, requiring build configuration and source code modifications. The logback-classic upgrade is a minor patch with no breaking changes.

org.testcontainers:testcontainers (1.19.3 → 2.0.0) - High Risk
This major version removes JUnit 4 support and refactors module coordinates and class packages, necessitating code and dependency definition updates.

Highlights:

  • Update Module Dependencies: Maven/Gradle artifact IDs for modules are now prefixed. For example, org.testcontainers:mysql must be changed to org.testcontainers:testcontainers-mysql.
  • Update Import Statements: Container classes have been moved to new packages. For example, org.testcontainers.containers.PostgreSQLContainer is now org.testcontainers.postgresql.PostgreSQLContainer.

Source: Testcontainers GitHub release notes.
Recommendation: Projects using JUnit 4 must migrate to JUnit 5. All projects must update dependency coordinates in their build files and fix package imports for container classes.

ch.qos.logback:logback-classic (1.5.15 → 1.5.19) - Low Risk
This is a routine patch release with no documented breaking changes.

Notice 🤖: This content was generated using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
Was this summary helpful 👍? Not helpful 👎?


Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Infinite loop
SNYK-JAVA-ORGAPACHECOMMONS-6254296
  120   org.testcontainers:testcontainers:
1.19.3 -> 2.0.0
Major version upgrade No Path Found No Known Exploit
medium severity External Initialization of Trusted Variables or Data Stores
SNYK-JAVA-CHQOSLOGBACK-13169722
  61   ch.qos.logback:logback-classic:
1.5.15 -> 1.5.19
No Path Found No Known Exploit
medium severity Allocation of Resources Without Limits or Throttling
SNYK-JAVA-ORGAPACHECOMMONS-6254297
  35   org.testcontainers:testcontainers:
1.19.3 -> 2.0.0
Major version upgrade No Path Found 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:

🦉 Allocation of Resources Without Limits or Throttling

@mjburling mjburling marked this pull request as draft November 13, 2025 16:23
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