-
Notifications
You must be signed in to change notification settings - Fork 148
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
Vulnerabilities in dependency: jackson-databind 2.2.3 #433
Comments
Wow, that's an old dependency. As a workaround, you can add an explicit dependency on [com.fasterxml.jackson.core/jackson-databind "2.9.9"] The version of jackson-databind should always be the same as the version of jackson-core; otherwise you will have problems. I'm not super-eager to add dependency version overrides to compojure-api – it's better to upgrade libraries deeper in the dependency tree and wait until the upgrades bubble up to compojure-api – but it will take a while. |
What happens if I exclude metosin/scjsv like: |
... seems to at least break my test: https://github.com/solita/livijuku/blob/develop/juku-backend/test/clj/juku/service/swagger_test.clj Is that library So can I exclude it from normal dependencies and include it in dev dependencies? |
Yeah, I think that should work. scjsv is only needed for the |
Seems to work and my uberjar is also 5Mb thinner, thanks |
Library Version(s)
metosin/compojure-api "1.1.13"
Problem
Compojure api seem to have an old transitive dependency:
[com.fasterxml.jackson.core/jackson-databind "2.2.3"]
lein nvd check
complains vulnerabilities: CVE-2018-14721, CVE-2018-14720, CVE-2018-14719, CVE-2017-7525, CVE-2018-19360, CVE-20...Dependency tree:
The text was updated successfully, but these errors were encountered: