CVE-2021-3482
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3482 is a security vulnerability discovered in Exiv2, affecting versions before and including 0.27.4-RC1. The vulnerability involves improper input validation of the rawData.size property in the Jp2Image::readMetadata() function within jp2image.cpp (NVD, Red Hat).

Technical details

The vulnerability is classified as a heap-based buffer overflow vulnerability with a CVSS v3.1 base score of 6.5 (Medium). The flaw exists in the Jp2Image::readMetadata() function due to improper validation of the rawData.size property, which can be triggered when processing malicious EXIF data in JPG images (Red Hat, NVD).

Impact

The vulnerability can lead to a heap-based buffer overflow when processing crafted JPG images containing malicious EXIF data. This could potentially result in information leakage from heap data, program crashes affecting availability, or in some cases, arbitrary code execution (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed in Exiv2 version 0.27.4-RC2. Various Linux distributions have released security updates to address this issue, including Red Hat Enterprise Linux 8 via RHSA-2021:4173, Debian via DSA-4958-1, and Fedora 33/34 through their respective security updates (Debian, Red Hat).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management