Description
Dulwich before 1.2.9 contains a denial of service vulnerability in Pack.resolve_object that allows attackers to cause infinite recursion via self-referential OFS_DELTA objects. Attackers can supply a malicious packfile with an OFS_DELTA delta_offset of 0 to exhaust CPU during clone, fetch, or cat-file operations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jelmer | dulwich | < 1.2.9 | 1.2.9 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dulwich | 1.2.11-1 | — |
| Debian 13 | dulwich | No fix yet | — |
| Debian 12 | dulwich | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | dulwich | No fix yet | — |
| Ubuntu 24.04 LTS | dulwich | No fix yet | — |
| Ubuntu 22.04 LTS | dulwich | No fix yet | — |
| Ubuntu 20.04 LTS | dulwich | No fix yet | — |
| Ubuntu 18.04 LTS | dulwich | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | dulwich | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-dulwich | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | dulwich | < 1.2.9 | 1.2.9 | GHSA-35mr-4567-66vg |
References
- GitHub Security Advisory (GHSA-35mr-4567-66vg) vendor-advisory
- VulnCheck Advisory: Dulwich before 1.2.9 Infinite Loop DoS via Pack.resolve_object third-party-advisory