Bug 1099719 (CVE-2018-12983) - VUL-0: CVE-2018-12983: podofo: stack-based buffer overflow in PdfEncryptMD5Base::ComputeEncryptionKey()
Summary: VUL-0: CVE-2018-12983: podofo: stack-based buffer overflow in PdfEncryptMD5Ba...
Status: RESOLVED FIXED
Alias: CVE-2018-12983
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/209172/
Whiteboard: CVSSv3:SUSE:CVE-2018-12983:6.3:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-29 16:14 UTC by Alexander Bergmann
Modified: 2024-05-08 10:56 UTC (History)
10 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Poc (20.11 KB, application/pdf)
2018-07-02 06:18 UTC, Johannes Segitz
Details
CVE-2018-12983-fix-proposed.diff (905 bytes, patch)
2022-04-19 10:45 UTC, Alexander Bergmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2018-06-29 16:14:57 UTC
rh#1595693

A stack-based buffer over-read in the PdfEncryptMD5Base::ComputeEncryptionKey()
function in PdfEncrypt.cpp in PoDoFo 0.9.6-rc1 could be leveraged by remote
attackers to cause a denial-of-service via a crafted pdf file.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1595693
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-12983
Comment 1 Johannes Segitz 2018-07-02 06:18:05 UTC
Created attachment 775814 [details]
Poc

podofocolor dummy downloads/poc2 foo

WARNING: There are more objects (71) in this XRef table than specified in the size key of the trailer directory (37)!
[1]    22685 segmentation fault (core dumped)  podofocolor dummy downloads/poc2 foo
Comment 2 Scott Reeves 2018-08-17 22:19:25 UTC
Can you take this Antonio. Thanks.
Comment 5 Alexandros Toptsoglou 2019-02-28 15:54:51 UTC
Upstream issue:
https://sourceforge.net/p/podofo/tickets/23/
Comment 6 Christophe Marin 2022-02-16 15:32:12 UTC
https://build.opensuse.org/request/show/955401
Comment 7 Alexander Bergmann 2022-04-19 10:45:23 UTC
Created attachment 858238 [details]
CVE-2018-12983-fix-proposed.diff
Comment 8 Alexander Bergmann 2022-04-19 10:50:53 UTC
The upstream ticket was closed after successfully testing the patch from comment 7.

Please submit for:

SUSE:SLE-12:Update
SUSE:SLE-15-SP3:Update
Comment 9 OBSbugzilla Bot 2022-05-04 10:40:04 UTC
This is an autogenerated message for OBS integration:
This bug (1099719) was mentioned in
https://build.opensuse.org/request/show/974857 Factory / podofo
Comment 13 Swamp Workflow Management 2022-09-26 16:29:34 UTC
SUSE-SU-2022:3385-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1099719
CVE References: CVE-2018-12983
JIRA References: 
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP5 (src):    podofo-0.9.2-3.15.1
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    podofo-0.9.2-3.15.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 14 Swamp Workflow Management 2022-11-01 14:23:45 UTC
SUSE-SU-2022:3833-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1099719
CVE References: CVE-2018-12983
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    podofo-0.9.6-150300.3.6.1
openSUSE Leap 15.3 (src):    podofo-0.9.6-150300.3.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.