Cannot fix file (duplicate entry: META-INF/DEPENDENCIES)
See original GitHub issueWhen executing the scanner I receive the following error:
$ ./log4j2-scan --fix /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133
This command will remove JndiLookup.class from log4j2-core binaries. Are you sure [y/N]? y
Logpresso CVE-2021-44228 Vulnerability Scanner 1.5.0 (2021-12-15)
Scanning directory: /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133
[*] Found CVE-2021-44228 vulnerability in /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133/jdbcserver.jar, log4j 2.13.1
[*] Found CVE-2021-44228 vulnerability in /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133/oauthservice.jar, log4j 2.13.1
Error: Cannot fix file (duplicate entry: META-INF/DEPENDENCIES). rollback original file /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133/jdbcserver.jar
Error: Cannot fix file (duplicate entry: META-INF/INDEX.LIST). rollback original file /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133/oauthservice.jar
the jar file itself is a valid zip:
$ unzip -t /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133/jdbcserver.jar
[...]
No errors detected in compressed data of /opt/tableau/tableau_server/packages/bin.20211.21.0617.1133/jdbcserver.jar.
any idea what needs to be changed? thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Gradle duplicate entry error: META-INF/MANIFEST.MF (Or ...
This issue is happening because of duplicate dependencies. Check for multiple dependencies in the Gradle app.
Read more >java.util.zip.ZipException: duplicate entry: META-INF ... - GitHub
I have successfully been using sbt-assembly in my project for months now and recently it started complaining about duplicate entries for a ...
Read more >Add build dependencies - Android Developers
To add a dependency to your project, specify a dependency configuration such as implementation in the dependencies block of your module's build.gradle file....
Read more >Dependencies - Verint ForeSee
Duplicate files copied in APK META-INF/DEPENDENCIES The files contained in the META-INF folder do not affect app function and can be excluded.
Read more >META-INF/version duplicate error when using Proguard
Caused by: java.io.IOException: Please correct the above warnings first. at proguard.InputReader.execute(InputReader.java:149) at proguard.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@xeraph , tested with 1.6.1 - everything is working 😃
@AliakseiKiryanau1 Wow…! Thank you for test report!