HistoryEdit

RUSTSEC-2021-0143

kamadak-exif DoS with untrusted PNG data

Issued
Package
kamadak-exif (crates.io)
Type
Vulnerability
Categories
Keywords
#untrusted-data #dos
Aliases
Details
https://github.com/kamadak/exif-rs/commit/1b05eab57e484cd7d576d4357b9cda7fdc57df8c
CVSS Score
6.5 MEDIUM
CVSS Details
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Patched
  • >=0.5.3
Unaffected
  • <0.5.2
Affected Functions
Version
kamadak_exif::Reader::read_from_container
  • >=0.5.2, <0.5.3

Description

Attacker crafted data can cause a infinite loop leading to DoS if used with untrusted data.