Distro advisory · AmazonLinux 2027
Important priority package update for python-markdown
Description
Package updates are available for Amazon Linux 2027 that fix the following vulnerabilities: CVE-2019-25781: Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.
Manual fix · AmazonLinux 2027
sudo yum updateinfo info ALAS2027-2026-517sudo yum upgrade --advisory=ALAS2027-2026-517rpm -q python3-markdownSources