You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<org.apache.pdfbox.io.RandomAccessBuffer: int read(byte[],int,int)>
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: void extractFromTiff(org.apache.pdfbox.io.RandomAccess,java.io.OutputStream,org.apache.pdfbox.cos.COSDictionary,int)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[493]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromRandomAccessImpl(org.apache.pdfbox.pdmodel.PDDocument,org.apache.pdfbox.io.RandomAccess,int)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[261]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFile(org.apache.pdfbox.pdmodel.PDDocument,java.io.File,int)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[237]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFile(org.apache.pdfbox.pdmodel.PDDocument,java.io.File)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[214]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFileByExtension(java.io.File,org.apache.pdfbox.pdmodel.PDDocument)> (org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.java:[250]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFile(java.lang.String,org.apache.pdfbox.pdmodel.PDDocument)> (org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.java:[202]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <be.quodlibet.boxable.AbstractPageTemplate: org.apache.pdfbox.pdmodel.graphics.image.PDImage loadPicture(java.lang.String)> (be.quodlibet.boxable.AbstractPageTemplate.java:[28]) in /detect/unzip/boxable-1.6/target/classes
Another risk method is <org.apache.pdfbox.io.RandomAccessBuffer: int readRemainingBytes(byte[],int,int)>
CVE Bug Invocation Path--
Path Length : 9
<org.apache.pdfbox.io.RandomAccessBuffer: int readRemainingBytes(byte[],int,int)>
at <org.apache.pdfbox.io.RandomAccessBuffer: int read(byte[],int,int)> (org.apache.pdfbox.io.RandomAccessBuffer.java:[248, 251]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: void extractFromTiff(org.apache.pdfbox.io.RandomAccess,java.io.OutputStream,org.apache.pdfbox.cos.COSDictionary,int)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[493]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromRandomAccessImpl(org.apache.pdfbox.pdmodel.PDDocument,org.apache.pdfbox.io.RandomAccess,int)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[261]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFile(org.apache.pdfbox.pdmodel.PDDocument,java.io.File,int)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[237]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFile(org.apache.pdfbox.pdmodel.PDDocument,java.io.File)> (org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory.java:[214]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFileByExtension(java.io.File,org.apache.pdfbox.pdmodel.PDDocument)> (org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.java:[250]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject: org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject createFromFile(java.lang.String,org.apache.pdfbox.pdmodel.PDDocument)> (org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.java:[202]) in /.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar
at <be.quodlibet.boxable.AbstractPageTemplate: org.apache.pdfbox.pdmodel.graphics.image.PDImage loadPicture(java.lang.String)> (be.quodlibet.boxable.AbstractPageTemplate.java:[28]) in /detect/unzip/boxable-1.6/target/classes
Hi, In boxable,there is a dependency org.apache.pdfbox:pdfbox:2.0.21 that calls the risk method.
CVE-2021-27807
The scope of this CVE affected version is [2.0.0,2.0.23)
After further analysis, in this project, the main Api called is <org.apache.pdfbox.io.RandomAccessBuffer: int read(byte[],int,int)>
Risk method repair link : GitHub
CVE Bug Invocation Path--
Path Length : 8
Another risk method is <org.apache.pdfbox.io.RandomAccessBuffer: int readRemainingBytes(byte[],int,int)>
CVE Bug Invocation Path--
Path Length : 9
Dependency tree--
Suggested solutions:
Update dependency version
Thank you very much.
The text was updated successfully, but these errors were encountered: