Vulnerability Name:

CVE-2022-38171 (CCN-234182)

Assigned:2022-08-12
Published:2022-08-12
Updated:2022-10-27
Summary:Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-190
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-38171

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20220902 JBIG2 integer overflow fixed in Xpdf 4.04, Poppler 22.09.0

Source: CCN
Type: XpdfReader Web site
Xpdf Security Fixes

Source: CONFIRM
Type: Vendor Advisory
http://www.xpdfreader.com/security-fixes.html

Source: CONFIRM
Type: Vendor Advisory
https://dl.xpdfreader.com/xpdf-4.04.tar.gz

Source: XF
Type: UNKNOWN
xpdf-cve202238171-code-exec(234182)

Source: MISC
Type: Third Party Advisory
https://github.com/jeffssh/CVE-2021-30860

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md

Source: MISC
Type: Third Party Advisory
https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html

Source: MISC
Type: Third Party Advisory
https://www.cve.org/CVERecord?id=CVE-2021-30860

Vulnerable Configuration:Configuration 1:
  • cpe:/a:xpdfreader:xpdf:4.04:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:freedesktop:poppler:*:*:*:*:*:*:*:* (Version < 22.09.0)

  • Configuration CCN 1:
  • cpe:/a:xpdfreader:xpdf:4.02:*:*:*:*:*:*:*
  • OR cpe:/a:xpdfreader:xpdf:4.03:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    xpdfreader xpdf 4.04
    freedesktop poppler *
    xpdfreader xpdf 4.02
    xpdfreader xpdf 4.03