git-scm git 2.40.0
Approved changes feed: RSS · Atom
cpe:2.3:a:git-scm:git:2.40.0:*:*:*:*:*:*:*part: a version: 2.40.0 update: *
| Vendor | Git Scm (69f9b2c9-1add-5b13-92bc-cad5e72ad8da) |
|---|---|
| Product | Git (5aef96a4-e613-57cd-b31f-50e244d457c7) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from NVD CPE 2.0 feed
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/git/git |
purl2cpe | 2026-06-01 10:14:47.149225 |
pkg:github/git/git-scm.com |
purl2cpe | 2026-06-01 10:14:47.149227 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2023-29007 |
vulnerable | 2026-06-08 06:02:37.917339 |
Arbitrary configuration injection via `git submodule deinit`
HIGH (7)
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted `.gitmodules` file with submodule URLs that are longer than 1024 characters can used to exploit a bug in `config.c::git_config_copy_or_rename_section_in_file()`. This bug can be used to inject arbitrary configuration into a user's `$GIT_DIR/config` when attempting to remove the configuration section associated with that submodule. When the attacker injects configuration values which specify executables to run (such as `core.pager`, `core.editor`, `core.sshCommand`, etc.) this can lead to a remote code execution. A fix A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid running `git submodule deinit` on untrusted repositories or without prior inspection of any submodule sections in `$GIT_DIR/config`.
Published: 2023-04-25T20:09:52.182Z
Updated: 2026-11-02T22:32:48.199Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-25652 |
vulnerable | 2026-06-08 05:56:09.603161 |
"git apply --reject" partially-controlled arbitrary file write
HIGH (7.5)
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists.
Published: 2023-04-25T19:17:35.315Z
Updated: 2025-11-04T16:09:58.740Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.