CVE-2012-2142
published 2020-01-09CVE-2012-2142: The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a…
PriorityP343high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
2.94%
85.7th percentile
The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | poppler | < poppler 0.18.4-7 (bookworm) | poppler 0.18.4-7 (bookworm) |
| debian | xpdf | < poppler 0.18.4-7 (bookworm) | poppler 0.18.4-7 (bookworm) |
| freedesktop | poppler | < 0.21.4 | 0.21.4 |
| freedesktop | poppler | >= 0 < 0.18.4-7 | 0.18.4-7 |
| freedesktop | poppler | >= 0 < 0.18.4-7 | 0.18.4-7 |
| freedesktop | poppler | >= 0 < 0.18.4-7 | 0.18.4-7 |
| freedesktop | poppler | >= 0 < 0.18.4-7 | 0.18.4-7 |
| opensuse | opensuse | — | — |
| poppler | poppler | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| xpdfreader | xpdf | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-pwcf-7grp-gwmj: The error function in Error
ghsa_unreviewed·2022-04-23
CVE-2012-2142 [MEDIUM] GHSA-pwcf-7grp-gwmj: The error function in Error
The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.
OSV
CVE-2012-2142: The error function in Error
osv·2020-01-09·CVSS 7.8
CVE-2012-2142 [HIGH] CVE-2012-2142: The error function in Error
The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.
Red Hat
xpdf: Insufficient sanitization of escape sequences in the error messages
vendor_redhat·2013-08-09·CVSS 7.8
CVE-2012-2142 [HIGH] xpdf: Insufficient sanitization of escape sequences in the error messages
xpdf: Insufficient sanitization of escape sequences in the error messages
The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.
Package: poppler (Red Hat Enterprise Linux 5) - Will not fix
Package: poppler (Red Hat Enterprise Linux 6) - Will not fix
Package: poppler (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2012-2142: poppler - The error function in Error.cc in poppler before 0.21.4 allows remote attackers ...
vendor_debian·2012·CVSS 7.8
CVE-2012-2142 [HIGH] CVE-2012-2142: poppler - The error function in Error.cc in poppler before 0.21.4 allows remote attackers ...
The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.
Scope: local
bookworm: resolved (fixed in 0.18.4-7)
bullseye: resolved (fixed in 0.18.4-7)
forky: resolved (fixed in 0.18.4-7)
sid: resolved (fixed in 0.18.4-7)
trixie: resolved (fixed in 0.18.4-7)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [epel-all]
bugzilla·2013-08-09·CVSS 7.8
CVE-2012-2142 [HIGH] CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [epel-all]
CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when avai
Bugzilla
CVE-2012-2142 poppler: poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [fedora-all]
bugzilla·2013-08-09·CVSS 7.8
CVE-2012-2142 [HIGH] CVE-2012-2142 poppler: poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [fedora-all]
CVE-2012-2142 poppler: poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field whe
Bugzilla
CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [fedora-all]
bugzilla·2013-08-09·CVSS 7.8
CVE-2012-2142 [HIGH] CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [fedora-all]
CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when availab
Bugzilla
CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages
bugzilla·2012-02-13·CVSS 7.8
CVE-2012-2142 [HIGH] CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages
CVE-2012-2142 poppler, xpdf: Insufficient sanitization of escape sequences in the error messages
An insufficient escape sequences sanitization flaw was found in the way xpdf, a PDF file viewer for the X window system, and poppler, a PDF rendering library, performed sanitization of certain characters to be displayed in the error messages, which arose during presentation of certain PDF files. A remote attacker could use this flaw to modify a window's title, or, possibly execute arbitrary commands or overwrite files, via a specially-crafted PDF file containing an escape sequence for a terminal emulator if local, unsuspecting user opened such crafted PDF file in xpdf or in an application linked against poppler library (for example evince).
Discussion:
This issue affects the versions of the
http://cgit.freedesktop.org/poppler/poppler/commit/?id=71bad47ed6a36d825b0d08992c8db56845c71e40http://cgit.freedesktop.org/poppler/poppler/commit/NEWS?id=2bc48d5369f1dbecfc4db2878f33bdeb80d8d90fhttp://lists.opensuse.org/opensuse-updates/2013-08/msg00049.htmlhttp://www.openwall.com/lists/oss-security/2013/08/09/5http://www.openwall.com/lists/oss-security/2013/08/09/6https://bugzilla.redhat.com/show_bug.cgi?id=789936http://cgit.freedesktop.org/poppler/poppler/commit/?id=71bad47ed6a36d825b0d08992c8db56845c71e40http://cgit.freedesktop.org/poppler/poppler/commit/NEWS?id=2bc48d5369f1dbecfc4db2878f33bdeb80d8d90fhttp://lists.opensuse.org/opensuse-updates/2013-08/msg00049.htmlhttp://www.openwall.com/lists/oss-security/2013/08/09/5http://www.openwall.com/lists/oss-security/2013/08/09/6https://bugzilla.redhat.com/show_bug.cgi?id=789936
2020-01-09
Published