Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1102: feign-form-spring relocated under io.github.openfeign #1103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DidierLoiseau
Copy link

@DidierLoiseau DidierLoiseau commented Oct 11, 2024

Fixed #1102 and aligns feign-form-spring with the rest of OpenFeign.

Leaving the exclusion for commons-io for now since it still has vulnerabilities in versions < 2.14 (See also #1098), which is still a transitive dependency of feign-form-spring:13.5 (via commons-fileupload:1.5).

Edit: I just realized that excluding commons-io but removing the direct dependency on commons-fileupload will not work for end users, as they actually need the former for the latter.

Previously it was still there because of the explicit dependency on commons-fileupload (the exclusions were a bit useless, actually), and users were getting version 2.11 (with the CVE mentioned in #1098). It will still be the case. The only dependencies that actually change in this PR are feign-form and feign-form-spring (checked with dependency:list on the starter module after mvn install).

Note that there is also an explicit dependency on version 2.17, but only with test scope. You might as well make it a compile-time dependency so that users get the version with the CVE fix…

@DidierLoiseau
Copy link
Author

An alternative could be to leave the explicit dependency on commons-fileupload, and let dependabot upgrade it when 1.6 gets released. They also have dependabot on OpenFeign so I suppose we can expect the next release to have 1.6 too (if it gets released soon enough).

Related: #853

Copy link
Collaborator

@OlgaMaciaszek OlgaMaciaszek left a comment

Choose a reason for hiding this comment

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

Thanks, @DidierLoiseau. Looks good, but could you submit these changes against the 4.1.x branch instead of main, so that they also get included in the 2023.0.x release train?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feign-form-spring relocated and released as 13.5 under io.github.openfeign
3 participants