Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-661

ArchiveInputStream markSupported should always return false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.26.0
    • 1.26.1
    • Compressors
    • None

    Description

      Apache Commons Compress 1.26.0 fixes

      We have tried to replace Apache Commons Compress 1.25.0 with 1.26.0 in our deployments in order to fix these security vulnerabilities. But unfortunately now Apache Tika is broken:

        org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.iwork.IWorkPackageParser@41fcb910
          at app//org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:304)
          at app//org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
          at app//org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
          at app//org.apache.tika.Tika.parseToString(Tika.java:525)
          at app//org.apache.tika.Tika.parseToString(Tika.java:495)
          at ...
        Caused by: java.io.IOException: Resetting to invalid mark
          at java.base/java.io.BufferedInputStream.reset(BufferedInputStream.java:446)
          at org.apache.tika.parser.iwork.IWorkPackageParser.parse(IWorkPackageParser.java:97)
          at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
          ... 42 more
      

      Attachments

        1. testARofText.ar
          0.1 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              Unassigned Unassigned
              veita Alexander Veit
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: