Liquibase-core 4.9.1 includes a shaded jackson-databind 2.9.10.8
See original GitHub issueEnvironment
Liquibase Version: 4.9.1
Liquibase Integration & Version: spring boot
Liquibase Extension(s) & Version: none
Database Vendor & Version: not relevant
Operating System Type & Version: not relevant (Linux)
Description
We use liquibase-core as part of a Java spring boot application and it’s working fine functionally. We run Black Duck SCA scans to check for vulnerabilities in third party/open source software included in our application. This scan identified that liquibase-core jar includes a shaded copy of jackson-databind (possibly jackson 2.9.10.8). It seems to be inside `liquibase/pro/packaged" package.
The jackson-databind 2.9.10.8 is reported as vulnerable to CVE-2020-36518 CVSS 3.x 7.5 HIGH
The problem with shaded dependencies is that if a vulnerability is identified, we cannot force a newer version by explicitly declaring it in our pom.xml to mitigate the vulnerability. We operate in regulated environments and have mandates for fixing vulnerabilities very quickly. We don’t have the luxury of waiting for third party components to update dependencies.
I would like to request that a variant of liquibase-core be published that doesn’t include shaded jackson but simply declares the dependency in maven pom.
There are no references to jackson-databind in the source of https://github.com/liquibase/liquibase . So it is not clear which version you use or how it is bundled in the liquibase-core.
Steps To Reproduce
Run Synopsis Black Duck SCA analysis on latest liquibase-core-4.9.1.jar.
Actual Behavior
liquibase-core doesn’t contain shaded dependency. Dependencies are declared in maven pom. We do not use pro version so we should not have jackson-databind in our class path.
liquibase-core also bundles as obfuscated code this libraries:
- commons-collections
- commons-lang3
- jackson It will be nice to share which versions you use.
Expected/Desired Behavior
liquibase-core contains shaded dependency jackson-databind
Screenshots (if appropriate)
Additional Context
None.
Issue Analytics
- State:
- Created a year ago
- Comments:24 (14 by maintainers)
Top GitHub Comments
@kry00la that worked; I would still like to request that you build with ver4.12.0 once it out (it will be soon, we are finishing up one PR and then will start in on it) and share with me a.) your docker file for the image and b.) your scan results of the container. It should be resolved fully in that version. In the meantime, I will continue to dig and see why it’s not resolved here, because I believe it should be. Thanks.
@kataggart sure here 😃