UBUNTU-CVE-2021-21236

Source
https://ubuntu.com/security/CVE-2021-21236
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21236.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21236
Related
Published
2021-01-06T17:15:00Z
Modified
2025-01-13T10:22:29Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

CairoSVG is a Python (pypi) package. CairoSVG is an SVG converter based on Cairo. In CairoSVG before version 2.5.1, there is a regular expression denial of service (REDoS) vulnerability. When processing SVG files, the python package CairoSVG uses two regular expressions which are vulnerable to Regular Expression Denial of Service (REDoS). If an attacker provides a malicious SVG, it can make cairosvg get stuck processing the file for a very long time. This is fixed in version 2.5.1. See Referenced GitHub advisory for more information.

References

Affected packages

Ubuntu:Pro:16.04:LTS / cairosvg

Package

Name
cairosvg
Purl
pkg:deb/ubuntu/cairosvg@1.0.19-1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.0.16-1
1.0.17-1
1.0.19-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / cairosvg

Package

Name
cairosvg
Purl
pkg:deb/ubuntu/cairosvg@1.0.20-1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.0.20-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / cairosvg

Package

Name
cairosvg
Purl
pkg:deb/ubuntu/cairosvg@2.4.2-1?arch=source&distro=focal

Affected ranges

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

Affected versions

2.*

2.4.0-2
2.4.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / cairosvg

Package

Name
cairosvg
Purl
pkg:deb/ubuntu/cairosvg@2.5.2-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.5.0-1.1
2.5.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / cairosvg

Package

Name
cairosvg
Purl
pkg:deb/ubuntu/cairosvg@2.7.1-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

2.*

2.7.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / cairosvg

Package

Name
cairosvg
Purl
pkg:deb/ubuntu/cairosvg@2.7.1-1?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*

2.7.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}