Git is distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality is also exposed to `git archive` via the `export-subst` gitattribute. When processing the padding operators, there is a integer overflow in `pretty.c::format_and_pad_commit()` where a `size_t` is stored improperly as an `int`, and then added as an offset to a `memcpy()`. This overflow can be triggered directly by a user running a command which invokes the commit formatting machinery (e.g., `git log --format=...`). It may also be triggered indirectly through git archive via the export-subst mechanism, which expands format specifiers inside of files within the repository during a git archive. This integer overflow can result in arbitrary heap writes, which may result in arbitrary code execution. The problem has been patched in the versions published on 2023-01-17, going back to v2.30.7. Users are advised to upgrade. Users who are unable to upgrade should disable `git archive` in untrusted repositories. If you expose git archive via `git daemon`, disable it by running `git config --global daemon.uploadArch false`.
総合評価: CVE-2022-41903 は高リスク(74/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 44.27%、99 パーセンタイル) 根拠: EPSS 上、短期間での悪用可能性は高い水準です。 推奨対応: 悪用可能性が高いため、影響範囲の確認と修補の優先付けを推奨します。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-17 | 43.99% | 44.27% | +0.27% |
| 2 | 2026-06-15 | 17.80% | 43.99% | +26.19% |
| 3 | 2026-05-22 | — | 17.80% | — |
EPSS の全履歴 (全 37 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-41903: 1 source package rows (git); 58 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 51. | https://security.alpinelinux.org/vuln/CVE-2022-41903 |
debian
|
not yet assigned | CVE-2022-41903 not yet assigned priority: Debian including 1 source packages (git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-41903 |
gentoo
|
high | CVE-2022-41903: 1 GLSA(s) (202312-15), 1 atom(s) (dev-vcs/git); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-41903 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2022-41903 |
suse
|
high | CVE-2022-41903 severity important: SUSE including 168 source package names (1.18-19.18:git-core-2.35.3-150300.10.21.1, 1.20-openssl:git-core-2.35.3-150300.10.21.1, …), 540 product×package rows across 75 product lines (Container bci/golang, Container bci/nodejs, … (75 product lines)): Fixed 462, Known Not Affected 78. | https://www.suse.com/security/cve/CVE-2022-41903/ |
ubuntu
|
medium | CVE-2022-41903 medium priority: Ubuntu including 1 source packages (git), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 7, needs-triage 1. | https://ubuntu.com/security/CVE-2022-41903 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| git-scm | git | <= 2.30.6 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.31.0, <= 2.31.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.32.0, <= 2.32.4 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.33.0, <= 2.33.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.34.0, <= 2.34.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.35.0, <= 2.35.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.36.0, <= 2.36.3 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.37.0, <= 2.37.4 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.38.0, <= 2.38.2 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | 2.39.0 | cpe:2.3:a:git-scm:git:2.39.0:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#_export_subst | Vendor Advisory |
| https://git-scm.com/docs/pretty-formats#Documentation/pretty-formats.txt-emltltNgttruncltruncmtruncem | Vendor Advisory |
| https://github.com/git/git/commit/508386c6c5857b4faa2c3e491f422c98cc69ae76 | Patch Release Notes Third Party Advisory |
| https://github.com/git/git/security/advisories/GHSA-475x-2q3q-hvwq | Third Party Advisory |
| https://security.gentoo.org/glsa/202312-15 |