In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.6+dfsg-1ubuntu1.1+esm1", "binary_name": "python-pygments" }, { "binary_version": "1.6+dfsg-1ubuntu1.1+esm1", "binary_name": "python3-pygments" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.1+dfsg-1ubuntu0.2", "binary_name": "python-pygments" }, { "binary_version": "2.1+dfsg-1ubuntu0.2", "binary_name": "python-pygments-doc" }, { "binary_version": "2.1+dfsg-1ubuntu0.2", "binary_name": "python3-pygments" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.2.0+dfsg-1ubuntu0.2", "binary_name": "python-pygments" }, { "binary_version": "2.2.0+dfsg-1ubuntu0.2", "binary_name": "python-pygments-doc" }, { "binary_version": "2.2.0+dfsg-1ubuntu0.2", "binary_name": "python3-pygments" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.3.1+dfsg-1ubuntu2.2", "binary_name": "python-pygments" }, { "binary_version": "2.3.1+dfsg-1ubuntu2.2", "binary_name": "python-pygments-doc" }, { "binary_version": "2.3.1+dfsg-1ubuntu2.2", "binary_name": "python3-pygments" } ] }