Infinite loop in exiv2 (Alpine package)



Published: 2020-03-15
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-20421
CWE-ID CWE-835
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
exiv2 (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Infinite loop

EUVDB-ID: #VU28798

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-20421

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop within the Jp2Image::readMetadata() in jp2image.cpp. A remote attacker can create a specially crafted image file, pass it to the affected application and consume all available system resources or cause denial of service conditions.

Mitigation

Install update from vendor's website.

Vulnerable software versions

exiv2 (Alpine package): 0.25-r0 - 0.27.2-r2

External links

http://git.alpinelinux.org/aports/commit/?id=4b80232f5a78abca62be25e8a44812437d3f11ef
http://git.alpinelinux.org/aports/commit/?id=5f508d129e5e87f82b2c8e85793d0c5302c5ef23
http://git.alpinelinux.org/aports/commit/?id=3e8ab963c14f906a03b0638a994acc710657355b
http://git.alpinelinux.org/aports/commit/?id=f7de796e6aaa9b44eed3b77e1c0e66fff453d454


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###