Skip to content

chore(deps-dev): dependencies and issue update - #124

Open
RVANDO12 wants to merge 1 commit into
mainfrom
chore/dependencies
Open

chore(deps-dev): dependencies and issue update#124
RVANDO12 wants to merge 1 commit into
mainfrom
chore/dependencies

Conversation

@RVANDO12

Copy link
Copy Markdown
Collaborator

PR Description

update dependencies

What this PR Provides

Description: We need to resolve multiple security vulnerabilities flagged by Dependabot in our pom.xml. This requires updating the PostgreSQL driver and forcing secure versions of both Jackson 2.x and Jackson 3.x to resolve transitive dependency issues.

Reference:

Dependabot Alert: GitHub Security Alert #100

Vulnerabilities to Address

  1. PostgreSQL Driver

Issue: The current version is susceptible to a Silent channel-binding authentication downgrade via unsupported certificate algorithms.

Resolution: Update the postgresql dependency to the latest patched version.

  1. Jackson-databind (2.x)

Vulnerable Version: 2.21.4

Introduced via: com.schibsted.spt.data:jslt 0.1.14

Affected Range: >= 2.21.0, <= 2.21.4

Patched Version: 2.21.5

Resolution: Force com.fasterxml.jackson.core:jackson-databind version 2.21.5 via .

  1. Jackson-databind (3.x)

Vulnerable Version: 3.1.4

Introduced via: org.flywaydb:flyway-database-postgresql 12.4.0

Resolution: Force tools.jackson.core:jackson-databind to a secure version (e.g., 3.1.5 or higher) via .

Fixes

Review

The reviewer must double-check these points:

  • The reviewer has tested the feature
  • The reviewer has reviewed the implementation of the feature
  • The documentation has been updated
  • The feature implementation respects the Technical Doc / ADR previously produced
  • The Pull Request title has a ! after the type/scope to identify the breaking
    change in the release note and ensure we will release a major version.

How to test

[ ] Compilation & Mapping: The project compiles successfully, and MapStruct correctly maps record components to domain objects without missing properties.

[ ] Swagger/OpenAPI UI: Verify that the generated OpenAPI documentation accurately reflects the flattened structure and still applies the snake_case naming strategy.

[ ] Integration Tests Passing: All existing MockMvc tests (specifically those POSTing or PUTting JSON payloads) must pass without modification to their JSON string payloads, proving that Jackson deserializes the records exactly as it did the old classes.

@sonarqubecloud

Copy link
Copy Markdown

@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: Java

Java / code-coverage/jacoco

The overall coverage in commit d82a871 in the chore/dependencies branch remains at 91%, unchanged from commit 4176600 in the main branch.

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