Advisory

UBUNTU-CVE-2021-3482

Also known as: CVE-2021-3482

Summary

The record has no summary.

Details

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Dates

Published
2021-04-08 23:15 UTC
Modified
2026-04-22 12:55 UTC

Affected packages and fixes

exiv2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 0.25-3.1ubuntu0.18.04.7 (ecosystem)

Fixed versions

0.25-3.1ubuntu0.18.04.7

Fix

  • Fixed version 0.25-3.1ubuntu0.18.04.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

exiv2

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.27.2-8ubuntu2.2 (ecosystem)

Fixed versions

0.27.2-8ubuntu2.2

Fix

  • Fixed version 0.27.2-8ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences