Miggo Logo

CVE-2024-45405: gix-path improperly resolves configuration path reported by Git

6

CVSS Score
3.1

Basic Information

EPSS Score
0.10135%
Published
9/6/2024
Updated
9/18/2024
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
gix-pathrust<= 0.10.100.10.11

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from three key elements:

  1. The git command invocation in installation_config/installation_config_prefix lacked '-z/--null' (fixed in commit 650a1b5)
  2. The path parsing in first_file_from_config_with_origin used tab separation and quote stripping
  3. The combination allows specially crafted paths to be misinterpreted, as shown in PoCs where é becomes \303\251

These functions are explicitly called out in vulnerability details and were modified in the security patch. The file path is confirmed through commit diffs and advisory references to mod.rs lines 138-142.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Summ*ry `*ix-p*t*` runs `*it` to *in* t** p*t* o* * *on*i*ur*tion *il* *sso*i*t** wit* t** `*it` inst*ll*tion, *ut improp*rly r*solv*s p*t*s *ont*inin* unusu*l or non-*S*II ***r**t*rs, in r*r* **s*s *n**lin* * lo**l *tt**k*r to inj**t *on*i*ur*t

Reasoning

T** vuln*r**ility st*ms *rom t*r** k*y *l*m*nts: *. T** *it *omm*n* invo**tion in inst*ll*tion_*on*i*/inst*ll*tion_*on*i*_pr**ix l**k** '-z/--null' (*ix** in *ommit *******) *. T** p*t* p*rsin* in *irst_*il*_*rom_*on*i*_wit*_ori*in us** t** s*p*r*tio