Amazon Linux 2023 : mercurial, mercurial-chg, mercurial-hgk (ALAS2023-2026-3580)

high Nessus Plugin ID 393955

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2026-3580 advisory.

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.

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'dnf update mercurial --releasever 2023.12.20261204' or or 'dnf update --advisory ALAS2023-2026-3580 --releasever 2023.12.20261204' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-3580.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 393955

File Name: al2023_ALAS2023-2026-3580.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Vulnerability Information

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:mercurial-chg-debuginfo, p-cpe:/a:amazon:linux:mercurial-chg, p-cpe:/a:amazon:linux:mercurial-debuginfo, p-cpe:/a:amazon:linux:mercurial-debugsource, p-cpe:/a:amazon:linux:mercurial-hgk, p-cpe:/a:amazon:linux:mercurial

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/4/2026

Vulnerability Publication Date: 12/4/2026