UBUNTU-CVE-2021-27291

Source
https://ubuntu.com/security/CVE-2021-27291
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27291.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-27291
Related
Published
2021-03-17T13:15:00Z
Modified
2024-10-15T14:08:04Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / pygments

Package

Name
pygments
Purl
pkg:deb/ubuntu/pygments?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6+dfsg-1ubuntu1.1+esm1

Affected versions

1.*

1.6+dfsg-1
1.6+dfsg-1build1
1.6+dfsg-1ubuntu1
1.6+dfsg-1ubuntu1.1

Ecosystem specific

{
    "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"
        }
    ]
}

Ubuntu:16.04:LTS / pygments

Package

Name
pygments
Purl
pkg:deb/ubuntu/pygments?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1+dfsg-1ubuntu0.2

Affected versions

2.*

2.0.1+dfsg-1.1svn1
2.0.1+dfsg-1.1ubuntu1
2.1+dfsg-1
2.1+dfsg-1ubuntu0.1

Ecosystem specific

{
    "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"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / eric

Package

Name
eric
Purl
pkg:deb/ubuntu/eric?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.0.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:18.04:LTS / pygments

Package

Name
pygments
Purl
pkg:deb/ubuntu/pygments?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.0+dfsg-1ubuntu0.2

Affected versions

2.*

2.2.0+dfsg-1
2.2.0+dfsg-1ubuntu0.1

Ecosystem specific

{
    "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"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / eric

Package

Name
eric
Purl
pkg:deb/ubuntu/eric?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

17.*

17.08-1
17.11.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / eric

Package

Name
eric
Purl
pkg:deb/ubuntu/eric?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

19.*

19.02.1+ds1-1
19.8+ds1-1
19.12+ds1-1

20.*

20.1+ds1-1
20.2+ds1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / pygments

Package

Name
pygments
Purl
pkg:deb/ubuntu/pygments?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1+dfsg-1ubuntu2.2

Affected versions

2.*

2.3.1+dfsg-1ubuntu1
2.3.1+dfsg-1ubuntu2
2.3.1+dfsg-1ubuntu2.1

Ecosystem specific

{
    "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"
        }
    ]
}

Ubuntu:22.04:LTS / eric

Package

Name
eric
Purl
pkg:deb/ubuntu/eric?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.1+ds1-1
21.1+ds1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / eric

Package

Name
eric
Purl
pkg:deb/ubuntu/eric?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

23.*

23.2+ds1-2ubuntu1

24.*

24.3+ds1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / eric

Package

Name
eric
Purl
pkg:deb/ubuntu/eric?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

23.*

23.2+ds1-1
23.2+ds1-2
23.2+ds1-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}