Skip to content

Commit a920f6a

Browse files
committed
Update commons-io dependency version to 2.14.0 to fix CVE
DEVSIX-8673
1 parent d0edac8 commit a920f6a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

pdfocr-tesseract4/pom.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<name>pdfOCR-Tesseract4</name>
1414
<description>pdfOCR-Tesseract4 is an iText add-on for Java to recognize and extract text in scanned documents and images. It can also convert them into fully ISO-compliant PDF or PDF/A-3u files that are accessible, searchable, and suitable for archiving</description>
1515

16+
<properties>
17+
<sonar.exclusions>src/main/java/com/itextpdf/pdfocr/tesseract4/LeptonicaWrapper.java</sonar.exclusions>
18+
</properties>
19+
1620
<dependencies>
1721
<dependency>
1822
<groupId>com.itextpdf</groupId>
@@ -59,16 +63,18 @@
5963
</exclusion>
6064
</exclusions>
6165
</dependency>
66+
<!--Direct dependency added for commons-IO because of CVE-2024-47554 for lower versions.
67+
This dependency originally comes from tess4j.-->
68+
<dependency>
69+
<groupId>commons-io</groupId>
70+
<artifactId>commons-io</artifactId>
71+
<version>2.14.0</version>
72+
</dependency>
6273
<dependency>
6374
<groupId>com.itextpdf</groupId>
6475
<artifactId>pdftest</artifactId>
6576
<version>${itext.version}</version>
6677
<scope>test</scope>
6778
</dependency>
6879
</dependencies>
69-
70-
<properties>
71-
<sonar.exclusions>src/main/java/com/itextpdf/pdfocr/tesseract4/LeptonicaWrapper.java</sonar.exclusions>
72-
</properties>
73-
74-
</project>
80+
</project>

0 commit comments

Comments
 (0)