Heap-based buffer overflow in tiff (Alpine package)



Published: 2012-12-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-4564
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
tiff (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) Heap-based buffer overflow

EUVDB-ID: #VU32749

Risk: Medium

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

CVE-ID: CVE-2012-4564

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in ppm2tiff does not check the return value of the TIFFScanlineSize function, which. A remote attacker can use a crafted PPM image that triggers an integer overflow to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

tiff (Alpine package): 3.9.6-r1 - 3.9.6-r2

CPE2.3 External links

http://git.alpinelinux.org/aports/commit/?id=6275bbb8fc87edb56770f3c6dcac494b56db826d
http://git.alpinelinux.org/aports/commit/?id=15d07e852bf2a8c9d22568a2fc4a8e54ba9c286a
http://git.alpinelinux.org/aports/commit/?id=04183d726989c362567d2c9e7da2d4d8810bd9b2
http://git.alpinelinux.org/aports/commit/?id=cab4b718abc4b3179498c45354d0adf651156789
http://git.alpinelinux.org/aports/commit/?id=c14e887330c5944f12ea9eb71a29774bf9a1f09a
http://git.alpinelinux.org/aports/commit/?id=a3d144a35f3ff8ce363d828327fb1e02b68eb1f4
http://git.alpinelinux.org/aports/commit/?id=0b6330a18a153ba21a8f38fa27469cbf0c0d14c4
http://git.alpinelinux.org/aports/commit/?id=0c3f503df0d78f144fed9d5d8099cf52ba0878a7
http://git.alpinelinux.org/aports/commit/?id=301bae2e27f652249d470c9150f1412f773a2cb8
http://git.alpinelinux.org/aports/commit/?id=45d40c0abebebc373b80f0aa1b9a9611e02db642
http://git.alpinelinux.org/aports/commit/?id=911ceeae2a3c67d9f38b117266c286f3a1b924ee


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###