SB2023081526 - Multiple vulnerabilities in xpdf
Published: August 15, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 vulnerabilities.
1) Out-of-bounds write (CVE-ID: CVE-2021-36493)
CWE-ID: CWE-787 - Out-of-bounds write
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error when processing PDF files. A remote attacker can pass a specially crafted PDF file to the application, trigger an out-of-bounds write and crash the application.
2) Stack-based buffer overflow (CVE-ID: CVE-2022-45586)
CWE-ID: CWE-121 - Stack-based buffer overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the Dict::find() function in xpdf/Dict.cc. A remote attacker can pass a specially crafted PDF file to the application, trigger a stack overflow and crash the application.
3) Out-of-bounds write (CVE-ID: CVE-2022-45587)
CWE-ID: CWE-787 - Out-of-bounds write
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error when processing PDF file. A remote attacker can pass a specially crafted PDF file to the application, trigger an out-of-bounds write and crash the application.
4) Division by zero (CVE-ID: CVE-2023-2662)
CWE-ID: CWE-369 - Divide By Zero
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a divide by zero error when processing PDF files. A remote attacker can pass a specially crafted PDF file to the application, trigger a division by zero error and crash the application.5) Infinite loop (CVE-ID: CVE-2023-2663)
CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to infinite loop. A remote attacker can consume all available system resources and cause denial of service conditions.
6) Infinite loop (CVE-ID: CVE-2023-2664)
CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to infinite loop. A remote attacker can consume all available system resources and cause denial of service conditions.
7) Division by zero (CVE-ID: CVE-2023-3044)
CWE-ID: CWE-369 - Divide By Zero
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a divide by zero error when processing PDF files. A remote attacker can pass a specially crafted PDF file to the application, trigger a division by zero error and crash the application.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- https://forum.xpdfreader.com/viewtopic.php?f=3&t=42160
- https://forum.xpdfreader.com/viewtopic.php?t=42361
- https://forum.xpdfreader.com/viewtopic.php?t=42505
- https://forum.xpdfreader.com/viewtopic.php?t=42421
- https://forum.xpdfreader.com/viewtopic.php?t=42422
- https://www.xpdfreader.com/security-bug/CVE-2023-3044.html
- https://github.com/baker221/poc-xpdf