FreeImage JXR File Processing StreamCalcIFDSize Function Denial of Service Vulnerability [CVE-2019-12212]

CVE Number – CVE-2019-12212

  • A vulnerability in the JPEG-XR (JXR) image processing functionality used by the FreeImage library could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on a targeted system.The vulnerability is due to insufficient validation of user-supplied input by the StreamCalcIFDSizefunction, as defined in the JXRMeta.c source code file of the affected software. An attacker could exploit this vulnerability by sending a crafted JXR file to the targeted system. A successful exploit could cause a stack exhaustion condition, resulting in a DoS condition on the targeted system.Proof-of-concept (PoC) code that demonstrates an exploit of this vulnerability is publicly available.

    FreeImage has confirmed the vulnerability; however, software updates are not available.

Analysis

  • To exploit this vulnerability, the attacker must send a crafted JXR file to the targeted system, making exploitation more difficult in environments that restrict network access from untrusted sources.

Safeguards

  • Administrators are advised to contact the vendor regarding future updates and releases.

    Administrators are advised to allow only trusted users to have network access.

    Administrators are advised to run both firewall and antivirus applications to minimize the potential of inbound and outbound threats.

    Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.

    Administrators can help protect affected systems from external attacks by using a solid firewall strategy.

    Administrators are advised to monitor affected systems.

Vendor Announcements

Fixed Software

  • At the time this alert was first published, FreeImage had not released a software update.

Duncan Newell

Duncan is a technology professional with over 20 years experience of working in various IT roles. He has a interest in cyber security, and has a wide range of other skills in radio, electronics and telecommunications.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: