Skip to content

Conversation

yeikel
Copy link
Collaborator

@yeikel yeikel commented Sep 10, 2025

What changes did you make? (Give an overview)

Overwrite Netty temporarily to fix CVE-2025-58056 and CVE-2025-58057

Is there anything you'd like reviewers to focus on?

See https://github.com/kafbat/kafka-ui/actions/runs/17544312907/job/49822128996

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings (e.g. Sonar is happy)
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged)

image

@kapybro kapybro bot added status/triage Issues pending maintainers triage status/triage/manual Manual triage in progress status/triage/completed Automatic triage completed and removed status/triage Issues pending maintainers triage labels Sep 10, 2025
@yeikel yeikel force-pushed the cve-CVE-2025-58057-CVE-2025-58056 branch from 0eb11fb to bc4a530 Compare September 10, 2025 15:52
@yeikel
Copy link
Collaborator Author

yeikel commented Sep 10, 2025

cc @germanosin @Haarolean

Thanks in advance!

@yeikel yeikel marked this pull request as ready for review September 10, 2025 15:58
@yeikel yeikel requested review from a team as code owners September 10, 2025 15:58
- "org.springframework.boot:*"
- "io.spring.dependency-management"
# All netty references are temporary overwrites that must be set carefully
# We do not need dependabot to send pull requests
Copy link
Member

Choose a reason for hiding this comment

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

why not? once some lib bumps it to say our 4.1.125, should be good to merge, nah?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because at least for now, we are only overwriting it for Spring transitively. Upgrading to a non-compatible version will just cause problems.

Even if 4.1.125.Final and 4.2.6.Final should be non breaking versions, experience says that Netty is very particular about conflicts and it just causes headaches.

As a side note, this dependabot configuration was not fully correct and it still created the PR #1326 but I'd suggest closing it instead of merging it.

I'll send a follow up to fix this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Haarolean Please see #1329

@Haarolean Haarolean added scope/backend Related to backend changes type/security Pull requests that address a security vulnerability and removed status/triage/manual Manual triage in progress labels Sep 10, 2025
@Haarolean Haarolean added this to the 1.4 milestone Sep 10, 2025
@Haarolean Haarolean merged commit 4eb8973 into kafbat:main Sep 10, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Release 1.4 Sep 10, 2025
@yeikel yeikel deleted the cve-CVE-2025-58057-CVE-2025-58056 branch September 10, 2025 17:20
yeikel added a commit to yeikel/kafka-ui that referenced this pull request Sep 10, 2025
@yeikel yeikel mentioned this pull request Sep 10, 2025
8 tasks
yeikel added a commit to yeikel/kafka-ui that referenced this pull request Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/backend Related to backend changes status/triage/completed Automatic triage completed type/security Pull requests that address a security vulnerability
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants