CVE-2019-12402 — The file name encoding algorithm used internally in Apache Commons Compress 1
The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Co
Published
2019-08-29T00:00:00.000Z
Last modified
2024-08-04T23:17:39.992Z
01What is this vulnerability?
The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.
02Affected products
| Vendor | Product | Versions |
|---|
| Apache Software Foundation | Apache Commons Compress | 1.15 to 1.18 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2019-08-29T00:00:00.000Z
- Last modified: 2024-08-04T23:17:39.992Z
09References
- lists.apache.org — https://lists.apache.org/thread.html/54cc4e9fa6b24520135f6fa4724dfb3465bc14703c7…
- lists.fedoraproject.org — https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro…
- lists.fedoraproject.org — https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro…
- lists.apache.org — https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b667…
- lists.apache.org — https://lists.apache.org/thread.html/r5caf4fcb69d2749225391e61db7216282955204849…
- lists.apache.org — https://lists.apache.org/thread.html/rcc35ab6be300365de5ff9587e0479d10d7d7c79070…
- lists.apache.org — https://lists.apache.org/thread.html/re13bd219dd4b651134f6357f12bd07a0344eea7518…
- lists.apache.org — https://lists.apache.org/thread.html/r5103b1c9242c0f812ac96e524344144402cbff9b6e…
- lists.apache.org — https://lists.apache.org/thread.html/r590c15cebee9b8e757e2f738127a9a71e48ede647a…
- lists.apache.org — https://lists.apache.org/thread.html/r05cf37c1e1e662e968cfece1102fcd50fe207181fd…
- lists.apache.org — https://lists.apache.org/thread.html/rdebc1830d6c09c11d5a4804ca26769dbd292d17d36…
- lists.apache.org — https://lists.apache.org/thread.html/rd3f99d732baed459b425fb0a9e9e14f7843c9459b1…
- lists.apache.org — https://lists.apache.org/thread.html/r21d64797914001119d2fc766b88c6da181dc2308d2…
- lists.apache.org — https://lists.apache.org/thread.html/r233267e24519bacd0f9fb9f61a1287cb9f4bcb6e75…
- lists.apache.org — https://lists.apache.org/thread.html/r25422df9ad22fec56d9eeca3ab8bd6d66365e9f6bf…
- lists.apache.org — https://lists.apache.org/thread.html/r972f82d821b805d04602976a9736c01b6bf218cfe0…
- lists.apache.org — https://lists.apache.org/thread.html/r4363c994c8bca033569a98da9218cc0c62bb695c1e…
- lists.apache.org — https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133dee…
- lists.apache.org — https://lists.apache.org/thread.html/rf5230a049d989dbfdd404b4320a265dceeeba459a4…
- lists.apache.org — https://lists.apache.org/thread.html/r7af60fbd8b2350d49d14e53a3ab2801998b9d1af2d…
- www.oracle.com — https://www.oracle.com/security-alerts/cpuapr2020.html
- www.oracle.com — https://www.oracle.com/security-alerts/cpujul2020.html
- lists.apache.org — https://lists.apache.org/thread.html/308cc15f1f1dc53e97046fddbac240e6cd16de89a27…
- www.oracle.com — https://www.oracle.com/security-alerts/cpuoct2020.html
- www.oracle.com — https://www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com — https://www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com — https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com — https://www.oracle.com/security-alerts/cpuoct2021.html
- www.oracle.com — https://www.oracle.com/security-alerts/cpuapr2022.html
- security.netapp.com — https://security.netapp.com/advisory/ntap-20230818-0001/
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →