SB2023122236 - Gentoo update for Leptonica
Published: December 22, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 secuirty vulnerabilities.
1) Path traversal (CVE-ID: CVE-2017-18196)
The vulnerability allows a local attacker to obtain potentially sensitive information on the target system.The weakness exists due to improper security restrictions. A local attacker can access a directory in the /tmp directory tree and gain access to potentially sensitive information, including arbitrary files.
2) Stack-based buffer overflow (CVE-ID: CVE-2018-7186)
The vulnerability allows a remote unauthenticated attacker to cause DoS condition on the target system.The weakness exists in the gplotRead and ptaReadStream functions due to stack-based buffer overflow. A remote attacker can trigger memory corruption and cause the service to crash.
3) Buffer overflow (CVE-ID: CVE-2018-7247)
The vulnerability allows a remote unauthenticated attacker to execute arbitrary code on the target system.The weakness exists in the pixHtmlViewer function due to buffer overflow. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of the vulnerability may result in system compromise.
4) Command injection (CVE-ID: CVE-2018-7440)
The vulnerability allows a remote unauthenticated attacker to execute arbitrary code on the target system.The weakness exists in the gplotMakeOutput function due to insufficient validation of commands used in the gplot rootname argument. A remote attacker can execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
5) Race condition (CVE-ID: CVE-2018-7441)
The vulnerability allows a local attacker to overwrite arbitrary files on the target system.The weakness exists due to hardcoded /tmp pathnames. A local attacker can create a file in advance, trigger race condition and overwrite arbitrary files.
6) Path traversal (CVE-ID: CVE-2018-7442)
The vulnerability allows a remote unauthenticated attacker to conduct path traversal attack on the target system.The weakness exists in the gplotMakeOutput function due to insufficient validation of characters used in the gplot rootname argument. A remote attacker can trigger path traversal and gain access to potentially sensitive information.
7) Division by zero (CVE-ID: CVE-2022-38266)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a divide by zero error within the blocksumLow() function in convolve.c. A remote attacker can pass a specially crafted JPEG image to the application and crash it.
Remediation
Install update from vendor's website.