RE: apache common compress 1.26 CVEs & JDK compatibility
Munawar Hafiz <[email protected]> Wed, 24 Sep 2025 17:12:34 -0700
| Newsgroups | gmane.comp.jakarta.commons.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, We are working on a tool that identifies root cause functions for CVEs. = Upon running the tool, we got the following results.=20 CVE-2024-26308 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D org.apache.commons.compress.harmony.unpack200.Archive#unpack() CVE-2024-25710 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = org.apache.commons.compress.harmony.unpack200.BandSet#decodeBandInt(String= ,InputStream,BHSDCodec,int) = org.apache.commons.io.input.BoundedInputStream.Codec#decodeInts(int,InputS= tream) = org.apache.commons.io.input.BoundedInputStream.Codec#decodeInts(int,InputS= tream,int) org.apache.commons.compress.archivers.zip.ZipUtil.isDosTime(long) = org.apache.commons.compress.archivers.dump.TapeInputStream#resetBlockSize(= int,boolean) = org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSIO= N_TYPE.find(int) = org.apache.commons.compress.archivers.dump.DumpArchiveUtil.decode(ZipEncod= ing,byte[],int,int) We have not validated the result manually, but this may be helpful for = your expedition. Thanks. Munawar On 2025/09/23 00:15:12 Guruprasad Hegde wrote: > Hi, >=20 > Our application is using the JDK7 & common compress 1.24 is compatible = with > it. > New 1.26 version is not compatible with the JDK7. > Is there a way we can make it compatible? >=20 >=20 > If not compatible, then custom build with CVE fixes is the only way. > I was reviewing the CVEs fixed in the 1.26 version > - CVE-2024-25710 : I was able to find a PR which fixed the issue. Is = this > correct PR ? > https://issues.apache.org/jira/browse/COMPRESS-632 >=20 > = https://github.com/apache/commons-compress/commit/8a9a5847c04ae39a1d45b365= f8bb82022466067d > - CVE-2024-26308 : I could not find the actual fix/PR for this issue. = Can > anyone help pointing to the actual fix? >=20 > Could you please review & reply to these queries. >=20 > Regards, > Guru >=20=