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

exclude log4j-api dependency from spring-boot #251

Merged
merged 2 commits into from
Dec 15, 2021
Merged

Conversation

joker234
Copy link
Member

@joker234 joker234 commented Dec 15, 2021

Description

log4j wasn't used in the ohsome API. The log4j-api is still loaded but not used without any configuration. Nevertheless we don't need this dependency and remove it.

Corresponding issue

Related to CVE-2021-44228. More information from spring: https://spring.io/blog/2021/12/10/log4j2-vulnerability-and-spring-boot

New or changed dependencies

  • exclude log4j-api dependency from spring-boot-starter-web.

Checklist

  • [ ] My code follows the code-style rules, and I have checked on the static analyses
  • [ ] I have commented my code
  • [ ] I have written javadoc (required for public methods)
  • [ ] I have added sufficient unit and API tests
  • [ ] I have made corresponding changes to the documentation
  • I have updated the CHANGELOG.md
  • [ ] I have adjusted the examples in the check-ohsome-api script or created an issue in the corresponding repository. More Information here.

@joker234 joker234 added dependencies Pull requests that update a dependency file waiting for review This pull request needs a code review labels Dec 15, 2021
@joker234 joker234 requested a review from bonaparten December 15, 2021 16:03
@joker234 joker234 removed the waiting for review This pull request needs a code review label Dec 15, 2021
@joker234 joker234 merged commit efbde52 into master Dec 15, 2021
@joker234 joker234 deleted the exclude-log4j branch December 15, 2021 16:38
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.

2 participants