CVE-2021-37220 MuPDF through 1.18.1 has an out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table. This can, for example, be seen with crafted "mutool....
MediumCVSS 5.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
MuPDF through 1.18.1 has an out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table. This can, for example, be seen with crafted "mutool draw" input.
Upgrade path
8 packages: 6 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mupdf(Ubuntu Pro 16.04) | = 1.7-1; = 1.7a-1; = 1.7a-1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| artifex mupdf | <= 1.18.1 | after 1.18.1 | Fixed |
| debian/mupdf(Debian 12) | < 1.17.0+ds1-2 | 1.17.0+ds1-2 | Fixed |
| debian/mupdf(Debian 13) | < 1.17.0+ds1-2 | 1.17.0+ds1-2 | Fixed |
| debian/mupdf(Debian 14) | < 1.17.0+ds1-2 | 1.17.0+ds1-2 | Fixed |
| ubuntu/mupdf(Ubuntu Pro 18.04) | < 1.12.0+ds1-1ubuntu0.1~esm1; = 1.11+ds1-1.1; = 1.11+ds1-2; = 1.12.0+ds1-1 | 1.12.0+ds1-1ubuntu0.1~esm1 | Fixed |
| ubuntu/mupdf(Ubuntu Pro 20.04) | < 1.16.1+ds1-1ubuntu1+esm1; = 1.15.0+ds1-1; = 1.16.1+ds1-1ubuntu1 | 1.16.1+ds1-1ubuntu1+esm1 | Fixed |
| fedoraproject fedora | = 34 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mupdf(Debian:12) | < 1.17.0+ds1-2 | 1.17.0+ds1-2 |
| debian/mupdf(Debian:13) | < 1.17.0+ds1-2 | 1.17.0+ds1-2 |
| debian/mupdf(Debian:14) | < 1.17.0+ds1-2 | 1.17.0+ds1-2 |
| artifex mupdf | <= 1.18.1 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:16.04) | = 1.7-1 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:16.04) | = 1.7a-1 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:16.04) | = 1.7a-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:18.04) | < 1.12.0+ds1-1ubuntu0.1~esm1 | 1.12.0+ds1-1ubuntu0.1~esm1 |
| ubuntu/mupdf(Ubuntu:Pro:18.04) | = 1.11+ds1-1.1 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:18.04) | = 1.11+ds1-2 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:18.04) | = 1.12.0+ds1-1 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:20.04) | < 1.16.1+ds1-1ubuntu1+esm1 | 1.16.1+ds1-1ubuntu1+esm1 |
| ubuntu/mupdf(Ubuntu:Pro:20.04) | = 1.15.0+ds1-1 | No fix listed |
| ubuntu/mupdf(Ubuntu:Pro:20.04) | = 1.16.1+ds1-1ubuntu1 | No fix listed |
References
- Debian Security Tracker CVE-2021-37220 vendor-advisory
- git.ghostscript.com
- bugs.ghostscript.com exploit issue-tracking vendor-advisory
- FEDORA-2021-e1d8a99caa vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- git.ghostscript.com issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory