GHSA-cgwf-w82q-5jrr · 深刻度: medium · エコシステム: maven — Apache Commons Compress denial of service vulnerability
Improper Input Validation, Uncontrolled Resource Consumption vulnerability in Apache Commons Compress in TAR parsing.This issue affects Apache Commons Compress: from 1.22 before 1.24.0. Users are recommended to upgrade to version 1.24.0, which fixes the issue. A third party can create a malformed TAR file by manipulating file modification times headers, which when parsed with Apache Commons Compress, will cause a denial of service issue via CPU consumption. In version 1.22 of Apache Commons Compress, support was added for file modification times with higher precision (issue # COMPRESS-612 [1]). The format for the PAX extended headers carrying this data consists of two numbers separated by a period [2], indicating seconds and subsecond precision (for example “1647221103.5998539”). The impacted fields are “atime”, “ctime”, “mtime” and “LIBARCHIVE.creationtime”. No input validation is performed prior to the parsing of header values. Parsing of these numbers uses the BigDecimal [3] class from the JDK which has a publicly known algorithmic complexity issue when doing operations on large numbers, causing denial of service (see issue # JDK-6560193 [4]). A third party can manipulate file time headers in a TAR file by placing a number with a very long fraction (300,000 digits) or a number with exponent notation (such as “9e9999999”) within a file modification time header, and the parsing of files with these headers will take hours instead of seconds, leading to a denial of service via exhaustion of CPU resources. This issue is similar to CVE-2012-2098 [5]. [1]: https://issues.apache.org/jira/browse/COMPRESS-612 [2]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_05 [3]: https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html [4]: https://bugs.openjdk.org/browse/JDK-6560193 [5]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2098 Only applications using CompressorStreamFactory class (with auto-detection of file types), TarArchiveInputStream and TarFile classes to parse TAR files are impacted. Since this code was introduced in v1.22, only that version and later versions are impacted.
総合評価: CVE-2023-42503 は低リスク(35.7/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.49%、38 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.49% | +0.44% |
| 2 | 2025-03-30 | 0.07% | 0.05% | -0.02% |
| 3 | 2025-03-29 | — | 0.07% | — |
EPSS の全履歴 (全 7 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
GHSA-cgwf-w82q-5jrr · 深刻度: medium · エコシステム: maven — Apache Commons Compress denial of service vulnerability
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2023-42503 unimportant priority: Debian including 1 source packages (libcommons-compress-java), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2023-42503 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2023-42503 |
suse
|
medium | CVE-2023-42503 severity moderate: SUSE including 1 source package names (apache-commons-compress), 13 product×package rows across 13 product lines (SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, … (13 product lines)): Known Not Affected 13. | https://www.suse.com/security/cve/CVE-2023-42503/ |
ubuntu
|
medium | CVE-2023-42503 medium priority: Ubuntu including 1 source packages (libcommons-compress-java), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 7, ignored 5. | https://ubuntu.com/security/CVE-2023-42503 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| apache | commons_compress | >= 1.22, < 1.24.0 | cpe:2.3:a:apache:commons_compress:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://lists.apache.org/thread/5xwcyr600mn074vgxq92tjssrchmc93c | Issue Tracking Mailing List URL Repurposed |
| https://security.netapp.com/advisory/ntap-20231020-0003/ | Third Party Advisory |