Bug 1081576 - (CVE-2018-7186) VUL-1: CVE-2018-7186 leptonica: Stack-based buffer overflows in gplotRead() and ptaReadStream() when parsing crafted files can lead to denial of service
(CVE-2018-7186)
VUL-1: CVE-2018-7186 leptonica: Stack-based buffer overflows in gplotRead() a...
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 42.3
Other Other
: P4 - Low : Minor (vote)
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/200341/
:
Depends on:
Blocks: CVE-2018-7247
  Show dependency treegraph
 
Reported: 2018-02-19 14:08 UTC by Karol Babioch
Modified: 2018-03-06 23:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Babioch 2018-02-19 14:08:30 UTC
rh#1546029

Leptonica before 1.75.3 does not limit the number of characters in a %s format
argument to fscanf or sscanf, which allows remote attackers to cause a denial of
service (stack-based buffer overflow) or possibly have unspecified other impact
via a long string, as demonstrated by the gplotRead and ptaReadStream functions.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1546029
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-7186
http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-7186.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890548
http://www.cvedetails.com/cve/CVE-2018-7186/
https://lists.debian.org/debian-lts/2018/02/msg00054.html
https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a
Comment 1 Swamp Workflow Management 2018-02-23 17:40:12 UTC
This is an autogenerated message for OBS integration:
This bug (1081576) was mentioned in
https://build.opensuse.org/request/show/579554 42.3 / leptonica
Comment 2 Andreas Stieger 2018-03-06 19:23:14 UTC
release for Leap
Comment 3 Swamp Workflow Management 2018-03-06 23:09:53 UTC
openSUSE-SU-2018:0615-1: An update that fixes three vulnerabilities is now available.

Category: security (moderate)
Bug References: 1079358,1081576,1081631
CVE References: CVE-2018-3836,CVE-2018-7186,CVE-2018-7247
Sources used:
openSUSE Leap 42.3 (src):    leptonica-1.72-9.1