Security Update for Dulwich Package

dulwich Updated 02 Oct 2025

Summary

28/03/2015
N/A
Yes i
Unrated
Not published

DSA-3206-1: dulwich - security update. Affects dulwich versions < 0.8.5-2+deb7u2. Fixed in 0.8.5-2+deb7u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Dulwich is a Python implementation of the file formats and protocols used by the Git version control system. It provides functionality for interacting with Git repositories, including reading and writing objects, creating and updating branches, and performing various Git operations. The package is widely used in Python applications that require Git integration.

Vulnerability Detail

The Dulwich package is affected by two vulnerabilities:

  1. CVE-2014-9706: This vulnerability allows writing to files under the .git/ directory when checking out working trees. An attacker could exploit this to execute arbitrary code with the privileges of the user running an application based on Dulwich.

  2. CVE-2015-0838: This vulnerability is a buffer overflow in the C implementation of the apply_delta() function used when accessing Git objects in pack files. An attacker could leverage this flaw to execute arbitrary code with the privileges of the user running a Git server or client based on Dulwich.

How To Fix

Minimum fixed version

0.8.5-2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade dulwich

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds mentioned for these vulnerabilities. It is crucial to apply the recommended package upgrades to ensure the security of applications using Dulwich.

Conclusion

Dulwich, a Python implementation of Git file formats and protocols, is affected by two vulnerabilities. These vulnerabilities allow arbitrary code execution and can be mitigated by upgrading the Dulwich package to the recommended versions. It is crucial to promptly apply the necessary fixes to ensure the security of applications using Dulwich. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dulwich →

Share this vulnerability

FAQ

Dulwich is a Python implementation of the file formats and protocols used by the Git version control system. It provides functionality for interacting with Git repositories.

CVE-2014-9706 is a vulnerability in Dulwich that allows writing to files under the .git/ directory when checking out working trees. It can lead to the execution of arbitrary code with the user's privileges.

CVE-2015-0838 is a buffer overflow vulnerability in the C implementation of the apply_delta() function used in Dulwich when accessing Git objects in pack files. It can allow the execution of arbitrary code with the user's privileges.

To fix these vulnerabilities, upgrade the Dulwich package to the latest available version. Refer to the provided version numbers for the respective distributions.

No specific workarounds are mentioned. It is recommended to apply the package upgrades as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for dulwich.

How To Fix

Minimum fixed version

0.8.5-2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade dulwich

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback