GHSA-px9g-8hgv-jvg2

Suggest an improvement
Source
https://github.com/advisories/GHSA-px9g-8hgv-jvg2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-px9g-8hgv-jvg2/GHSA-px9g-8hgv-jvg2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-px9g-8hgv-jvg2
Aliases
Published
2022-10-06T19:53:39Z
Modified
2023-11-08T04:04:38.884291Z
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
kamadak-exif vulnerable to Infinite loop when parsing PNG files
Details

Impact

Reader::readfromcontainer can cause an infinite loop when a crafted PNG file is given.

Patches

Version 0.5.3 includes the fix.

Workarounds

No workaround is available. Applications that do not pass files with the PNG signature to Reader::readfromcontainer are not affected.

References

For more information

If you have any questions or comments about this advisory: * Open an issue in github.com/kamadak/exif-rs

Database specific
{
    "nvd_published_at": "2021-01-06T02:15:00Z",
    "github_reviewed_at": "2022-10-06T19:53:39Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-400",
        "CWE-835"
    ]
}
References

Affected packages

crates.io / kamadak-exif

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.5.2
Fixed
0.5.3

Affected versions

0.*

0.5.2