UBUNTU-CVE-2021-21235

Source
https://ubuntu.com/security/CVE-2021-21235
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21235.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21235
Related
Published
2021-01-06T02:15:00Z
Modified
2024-10-15T14:08:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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::readfromcontainer 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::readfromcontainer are not affected.

References

Affected packages

Ubuntu:20.04:LTS / rust-kamadak-exif

Package

Name
rust-kamadak-exif
Purl
pkg:deb/ubuntu/rust-kamadak-exif?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.3.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / rust-kamadak-exif

Package

Name
rust-kamadak-exif
Purl
pkg:deb/ubuntu/rust-kamadak-exif?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.3.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / rust-kamadak-exif

Package

Name
rust-kamadak-exif
Purl
pkg:deb/ubuntu/rust-kamadak-exif?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.5.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / rust-kamadak-exif

Package

Name
rust-kamadak-exif
Purl
pkg:deb/ubuntu/rust-kamadak-exif?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.5.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}