A denial of service (DoS) vulnerability exists in the Dulwich library's Pack.resolve_object method due to improper handling of OFS_DELTA objects with a delta_offset of zero. This causes infinite recursion and CPU exhaustion when processing malicious packfiles. The issue affects versions from 3.0.0 up to but not including 3.3.21_4 and is fixed in version 3.3.21_4. An attacker can exploit this by providing crafted packfiles to services using Dulwich, causing them to hang or crash.