ID CVE-2019-9143
Summary An issue was discovered in Exiv2 0.27. There is infinite recursion at Exiv2::Image::printTiffStructure in the file image.cpp. This can be triggered by a crafted file. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.
References
Vulnerable Configurations
  • cpe:2.3:a:exiv2:exiv2:0.27:*:*:*:*:*:*:*
    cpe:2.3:a:exiv2:exiv2:0.27:*:*:*:*:*:*:*
CVSS
Base: 6.8 (as of 24-08-2020 - 17:37)
Impact:
Exploitability:
CWE CWE-674
CAPEC
  • XML Oversized Payloads
    Applications often need to transform data in and out of the XML format by using an XML parser. It may be possible for an adversary to inject data that may have an adverse effect on the XML parser when it is being processed. By supplying oversized payloads in input vectors that will be processed by the XML parser, an adversary can cause the XML parser to consume more resources while processing, causing excessive memory consumption and CPU utilization, and potentially cause execution of arbitrary code. An adversary's goal is to leverage parser failure to his or her advantage. In many cases this type of an attack will result in a XML Denial of Service (XDoS) due to an application becoming unstable, freezing, or crashing. However it is possible to cause a crash resulting in arbitrary code execution, leading to a jump from the data plane to the control plane [R.231.1]. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.
  • XML Nested Payloads
    Applications often need to transform data in and out of the XML format by using an XML parser. It may be possible for an adversary to inject data that may have an adverse effect on the XML parser when it is being processed. By nesting XML data and causing this data to be continuously self-referential, an adversary can cause the XML parser to consume more resources while processing, causing excessive memory consumption and CPU utilization. An adversary's goal is to leverage parser failure to his or her advantage. In most cases this type of an attack will result in a XML Denial of Service (XDoS) due to an application becoming unstable, freezing, or crashing. However it may be possible to cause a crash resulting in arbitrary code execution, leading to a jump from the data plane to the control plane [R.230.1]. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
bugzilla
id 1800472
title CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 8 is installed
      oval oval:com.redhat.rhba:tst:20193384074
    • OR
      • AND
        • comment gnome-color-manager is earlier than 0:3.28.0-3.el8
          oval oval:com.redhat.rhsa:tst:20201577001
        • comment gnome-color-manager is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20183140168
      • AND
        • comment gnome-color-manager-debugsource is earlier than 0:3.28.0-3.el8
          oval oval:com.redhat.rhsa:tst:20201577003
        • comment gnome-color-manager-debugsource is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20201577004
      • AND
        • comment libgexiv2 is earlier than 0:0.10.8-4.el8
          oval oval:com.redhat.rhsa:tst:20201577005
        • comment libgexiv2 is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20183140346
      • AND
        • comment libgexiv2-debugsource is earlier than 0:0.10.8-4.el8
          oval oval:com.redhat.rhsa:tst:20201577007
        • comment libgexiv2-debugsource is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20201577008
      • AND
        • comment libgexiv2-devel is earlier than 0:0.10.8-4.el8
          oval oval:com.redhat.rhsa:tst:20201577009
        • comment libgexiv2-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20183140348
      • AND
        • comment gegl is earlier than 0:0.2.0-39.el8
          oval oval:com.redhat.rhsa:tst:20201577011
        • comment gegl is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20121455002
      • AND
        • comment gegl-debugsource is earlier than 0:0.2.0-39.el8
          oval oval:com.redhat.rhsa:tst:20201577013
        • comment gegl-debugsource is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20201577014
      • AND
        • comment exiv2 is earlier than 0:0.27.2-5.el8
          oval oval:com.redhat.rhsa:tst:20201577015
        • comment exiv2 is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20192101002
      • AND
        • comment exiv2-debugsource is earlier than 0:0.27.2-5.el8
          oval oval:com.redhat.rhsa:tst:20201577017
        • comment exiv2-debugsource is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20201577018
      • AND
        • comment exiv2-devel is earlier than 0:0.27.2-5.el8
          oval oval:com.redhat.rhsa:tst:20201577019
        • comment exiv2-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20192101004
      • AND
        • comment exiv2-doc is earlier than 0:0.27.2-5.el8
          oval oval:com.redhat.rhsa:tst:20201577021
        • comment exiv2-doc is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20192101006
      • AND
        • comment exiv2-libs is earlier than 0:0.27.2-5.el8
          oval oval:com.redhat.rhsa:tst:20201577023
        • comment exiv2-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20192101008
rhsa
id RHSA-2020:1577
released 2020-04-28
severity Moderate
title RHSA-2020:1577: exiv2 security, bug fix, and enhancement update (Moderate)
rpms
  • exiv2-0:0.27.2-5.el8
  • exiv2-debuginfo-0:0.27.2-5.el8
  • exiv2-debugsource-0:0.27.2-5.el8
  • exiv2-devel-0:0.27.2-5.el8
  • exiv2-doc-0:0.27.2-5.el8
  • exiv2-libs-0:0.27.2-5.el8
  • exiv2-libs-debuginfo-0:0.27.2-5.el8
  • gegl-0:0.2.0-39.el8
  • gegl-debuginfo-0:0.2.0-39.el8
  • gegl-debugsource-0:0.2.0-39.el8
  • gnome-color-manager-0:3.28.0-3.el8
  • gnome-color-manager-debuginfo-0:3.28.0-3.el8
  • gnome-color-manager-debugsource-0:3.28.0-3.el8
  • libgexiv2-0:0.10.8-4.el8
  • libgexiv2-debuginfo-0:0.10.8-4.el8
  • libgexiv2-debugsource-0:0.10.8-4.el8
  • libgexiv2-devel-0:0.10.8-4.el8
refmap via4
bid 107161
misc
Last major update 24-08-2020 - 17:37
Published 25-02-2019 - 15:29
Last modified 24-08-2020 - 17:37
Back to Top