Skip to content

Resolve security vulnerabilities in Jackson and Central publishing plugin dependencies#458

Merged
frankgiordano merged 8 commits intomainfrom
unirest-jackson
Mar 30, 2026
Merged

Resolve security vulnerabilities in Jackson and Central publishing plugin dependencies#458
frankgiordano merged 8 commits intomainfrom
unirest-jackson

Conversation

@frankgiordano
Copy link
Copy Markdown
Collaborator

@frankgiordano frankgiordano commented Mar 30, 2026

Description

This PR addresses two dependency-related security issues identified by scanning tools.

  1. Jackson vulnerability via Unirest module

See #456

Updated the Unirest Jackson integration dependency to a newer version in order to pull in a patched Jackson stack and resolve the reported vulnerability tied to the previous Jackson-based dependency chain.

Updated dependency:

        <dependency>
            <groupId>com.konghq</groupId>
            <artifactId>unirest-modules-jackson-legacy</artifactId>
            <version>4.8.1</version>
        </dependency>
  1. CVE-2025-67030 via central-publishing-maven-plugin

See #457

Resolved the vulnerability associated with plexus-utils, which was being introduced through central-publishing-maven-plugin.

Changes made:

Removed central-publishing-maven-plugin from the main section since it is a build plugin, not a runtime dependency
Upgraded the plugin version in the ci-cd profile
Added an explicit plugin dependency override for a patched plexus-utils version

Summary of Changes

  • Updated Jackson-related Unirest module to address the reported security issue
  • Removed incorrect plugin declaration from project dependencies
  • Upgraded central-publishing-maven-plugin
  • Overrode plexus-utils in plugin scope to address CVE-2025-67030

Impact

  • Resolves the two reported security findings
  • Keeps publishing behavior scoped correctly to build/profile usage
  • No intended runtime functional changes outside dependency security remediation

Notes

A JSON parsing test failure surfaced after the Jackson-related upgrade which code changes made to handle it.

Signed-off-by: Frank Giordano <giofr01@yahoo.com>
Signed-off-by: Frank Giordano <giofr01@yahoo.com>
Signed-off-by: Frank Giordano <giofr01@yahoo.com>
@frankgiordano frankgiordano self-assigned this Mar 30, 2026
@frankgiordano frankgiordano added enhancement New feature or request Improvement labels Mar 30, 2026
@frankgiordano frankgiordano marked this pull request as ready for review March 30, 2026 18:40
Signed-off-by: Frank Giordano <giofr01@yahoo.com>
Signed-off-by: Frank Giordano <giofr01@yahoo.com>
Signed-off-by: Frank Giordano <giofr01@yahoo.com>
Improve error handling by providing more context in the exception message when parsing the TSO start response fails.

Signed-off-by: Frank Giordano <giofr01@yahoo.com>
Signed-off-by: Frank Giordano <giofr01@yahoo.com>
@frankgiordano frankgiordano merged commit a3a8bbd into main Mar 30, 2026
2 checks passed
@frankgiordano frankgiordano deleted the unirest-jackson branch March 30, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant