Distro advisory · AmazonLinux 2023
Important priority package update for mercurial
AmazonLinux 2023
What it fixes
Fix HG-SA-2026-004: Configuration injection, leading to arbitrary and remote code execution, through malformed subrepository URLs in .hgsub and through paths given to hg clone and hg share.
Fix HG-SA-2026-003: Writing through a symlink during a parallel update, bypassing symlink auditing.
Fix HG-SA-2026-002: Integrity check bypass through in-memory cache poisoning when unbundling.
Fix HG-SA-2026-001: Arbitrary code execution and writes outside of the working copy through .hg paths and symlinks exported by hg archive, hg cat, hg export and others, and accepted on exchange.
Manual fix · AmazonLinux 2023
sudo yum updateinfo info ALAS2023-2026-3580sudo yum upgrade --advisory=ALAS2023-2026-3580rpm -q mercurialSources