From fc0f4e68c9efe291c00d5b9a973089d8cda4c1cf Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 21 Mar 2021 16:35:41 +0100 Subject: [PATCH] Fixed: Upgrade Apache PDFBox to 2.0.23 because of CVE-2021-27807 and CVE-2021-27906 (OFBIZ-12205) Currently we don't declare any dependency on PDFBox. I guess because it's used as a 3rd party by another lib. Fortunately it's easily done. --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index ce78af8452..70ac47a444 100644 --- a/build.gradle +++ b/build.gradle @@ -196,6 +196,7 @@ dependencies { compile 'org.apache.httpcomponents:httpclient-cache:4.5.6' compile 'org.apache.logging.log4j:log4j-api:2.11.1' // the API of log4j 2 compile 'org.apache.poi:poi:3.17' + compile 'org.apache.pdfbox:pdfbox:2.0.23' compile 'org.apache.shiro:shiro-core:1.4.0' compile 'org.apache.sshd:sshd-core:1.7.0' compile 'org.apache.tika:tika-core:1.24.1'