CVE-2015-0838 Dulwich Buffer Overflow when handling pack files
Remote attackers can execute arbitrary code via a crafted pack file due to a buffer overflow in the Dulwich library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-0838?
CVE-2015-0838 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 31 Mar 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Buffer overflow in the C implementation of the apply_delta function in _pack.c in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a crafted pack file.
Weakness: CWE-119
Which versions are affected by CVE-2015-0838?
3 open source packages ship an affected version, including dulwich. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
dulwich PyPI | All versions | 0.9.9 |
dulwich PyPI | All versions | 0.9.9 |
dulwich PyPI | All versions | 0.9.9 |
Linux distribution packages (1)
python-dulwich openSUSE:Tumbleweed | All versions | 0.12.0-2.3 |
Products include Debian Debian Linux, Dulwich Project Dulwich.
How do I fix CVE-2015-0838?
Upgrade dulwich to 0.9.9 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2015-0838 being exploited?
There is no known exploitation of CVE-2015-0838 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2015-0838, DLA-231-1, GHSA-vjjf-3rvg-gv3v, PYSEC-2015-35, openSUSE-SU-2024:10124-1.