CVEfocus › CVE database › CVE-2021-31292

CVE-2021-31292

EPSS 2.6% (higher than 86% of CVEs)Published 2021-07-26Updated 2024-08-03Assigner: mitre

An integer overflow in CrwMap::encode0x1810 of Exiv2 0.27.3 allows attackers to trigger a heap-based buffer overflow and cause a denial of service (DOS) via crafted metadata.

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

PyPI, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
3Fix pending
9Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04exiv2Not affected
vulnerable_code_not_present
Ubuntu 16.04exiv2Fix pending
Ubuntu 14.04exiv2Fix pending
Debian 14exiv2Fixed0.27.3-3.1DEBIAN-CVE-2021-31292
Debian 13exiv2Fixed0.27.3-3.1DEBIAN-CVE-2021-31292
Debian 12exiv2Fixed0.27.3-3.1DEBIAN-CVE-2021-31292
Red Hat Enterprise Linux 9exiv2Not affected
Red Hat Enterprise Linux 9exiv2-develNot affected
Red Hat Enterprise Linux 9exiv2-docNot affected
Red Hat Enterprise Linux 9exiv2-libsNot affected
Red Hat Enterprise Linux 8compat-exiv2-026Fixed0:0.26-6.el8RHSA-2021:4319
Red Hat Enterprise Linux 8exiv2Fixed0:0.27.4-5.el8RHSA-2021:4173
Red Hat Enterprise Linux 8exiv2-develFixed0:0.27.4-5.el8RHSA-2021:4173
Red Hat Enterprise Linux 8exiv2-docFixed0:0.27.4-5.el8RHSA-2021:4173
Red Hat Enterprise Linux 8exiv2-libsFixed0:0.27.4-5.el8RHSA-2021:4173
Red Hat Enterprise Linux 7compat-exiv2-023Will not fix
Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-026Will not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2Will not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2Will not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2-libsWill not fix
Out of support scope
AlmaLinux 8compat-exiv2-026Fixed0.26-6.el8ALSA-2021:4319
AlmaLinux 8exiv2Fixed0.27.4-5.el8ALSA-2021:4173
AlmaLinux 8exiv2-develFixed0.27.4-5.el8ALSA-2021:4173
AlmaLinux 8exiv2-docFixed0.27.4-5.el8ALSA-2021:4173
AlmaLinux 8exiv2-libsFixed0.27.4-5.el8ALSA-2021:4173
Rocky Linux 8compat-exiv2-026Fixed0:0.26-6.el8RLSA-2021:4319
Rocky Linux 8exiv2Fixed0:0.27.4-5.el8RLSA-2021:4173
PyPI libraryexiv2Fix pendingPYSEC-2021-877

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.