Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21235

5.7 · MEDIUM
Published Jan 6, 2021 kamadak-exif_project CWE-400 EPSS 1.52% (73th pctl)

Overview

CVE-2021-21235 is a medium-severity vulnerability affecting kamadak-exif_project kamadak-exif. It was published on January 6, 2021 and has a CVSS 3.1 base score of 5.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.7, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

kamadak-exif is an exif parsing library written in pure Rust. In kamadak-exif version 0.5.2, there is an infinite loop in parsing crafted PNG files. Specifically, reader::read_from_container can cause an infinite loop when a crafted PNG file is given. This is fixed in version 0.5.3. No workaround is available. Applications that do not pass files with the PNG signature to Reader::read_from_container are not affected.

Remediation

Check the references section for vendor advisories and patches from kamadak-exif_project. Update kamadak-exif to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2021-21235?

CVE-2021-21235 is a medium-severity vulnerability affecting kamadak-exif_project kamadak-exif. It was published on January 6, 2021 and has a CVSS 3.1 base score of 5.7 (MEDIUM).

How severe is CVE-2021-21235?

This vulnerability has a CVSS 3.1 base score of 5.7, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-21235?

Check the references section for vendor advisories and patches from kamadak-exif_project. Update kamadak-exif to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21235?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21235 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.