{"id":"MGASA-2026-0589","summary":"Updated python-dulwich & rust-similar3 packages fixes security vulnerabilities","details":"Commit subjects not sanitized in ``porcelain.format_patch``\nUnbounded memory allocation in receive-pack from crafted thin packs\nDulwich from 0.22.5 before 1.2.8 contains a path traversal vulnerability\nin stash.py pop() that allows attackers to write arbitrary files outside\nthe worktree through intermediate directory symlinks. Attackers can\ncraft a malicious repository whose popped stash writes a payload into\n.git/hooks/post-checkout, achieving code execution on the next checkout.\nDulwich from 0.23.1 before 1.2.8 contains a path traversal vulnerability\nin CommitFilter._apply_index_filter() that allows attackers to write\nfiles outside the working directory via symlinks persisting between\ncommits. Attackers can craft a repository where an ancestor commit's\nsymlink redirects a descendant commit's file writes during\nfilter_branch, enabling code execution by writing into .git/hooks.\nDulwich before 1.2.9 contains a denial of service vulnerability in\nPack.resolve_object that allows attackers to cause infinite recursion\nvia self-referential OFS_DELTA objects. Attackers can supply a malicious\npackfile with an OFS_DELTA delta_offset of 0 to exhaust CPU during\nclone, fetch, or cat-file operations.\nDulwich before 1.2.9 fails to validate DOS drive letter prefixes in Git\ntree path elements on Windows, allowing arbitrary file write. Attackers\ncan craft a malicious repository with a tree entry named 'C:' that\nbypasses NTFS validation and writes files outside the worktree to\nachieve remote code execution.\nDulwich from 0.24.0 before 1.2.8 contains a symlink following\nvulnerability in porcelain.checkout(paths=[...]) that allows attackers\nto write arbitrary files by abusing raw os.open without O_NOFOLLOW.\nAttackers can craft a repository where a worktree symlink points to\n.git/hooks/post-checkout, so restoring the file from a tag writes a\nmalicious hook for code execution.\n","modified":"2026-11-10T16:58:15.079951964Z","published":"2026-11-10T16:31:41Z","upstream":["CVE-2026-114094","CVE-2026-114095","CVE-2026-114096","CVE-2026-114097","CVE-2026-114098","CVE-2026-47712","CVE-2026-47734"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2026-0589.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=35907"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YORLARHG3RTPSDHI7QFLTZNL67NVZCN7/"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-555p-6grf-mh7f"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-xrvj-v92f-53gj"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-cm62-gvxx-vmxx"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-5fqc-mrg8-w798"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-35mr-4567-66vg"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-8mcx-5rqc-vhmf"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33"}],"affected":[{"package":{"name":"python-dulwich","ecosystem":"Mageia:10","purl":"pkg:rpm/mageia/python-dulwich?arch=source&distro=mageia-10"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.21-1.1.mga10"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2026-0589.json"}},{"package":{"name":"rust-similar3","ecosystem":"Mageia:10","purl":"pkg:rpm/mageia/rust-similar3?arch=source&distro=mageia-10"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-1.mga10"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2026-0589.json"}}],"schema_version":"1.9.2","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}