CVE-2018-7440 gplotMakeOutput() command injection vulnerability

Related Vulnerabilities: CVE-2018-7440   CVE-2018-3836  

Debian Bug report logs - #891932
CVE-2018-7440 gplotMakeOutput() command injection vulnerability

version graph

Reported by: "Santiago R.R." <santiagorr@riseup.net>

Date: Fri, 2 Mar 2018 18:18:01 UTC

Severity: grave

Tags: patch, security

Found in versions leptonlib/1.75.3-2, leptonlib/1.75.3-1

Done: Jeff Breidenbach <jeff@jab.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, team@security.debian.org, Jeff Breidenbach <jab@debian.org>:
Bug#891932; Package src:leptonlib. (Fri, 02 Mar 2018 18:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Santiago R.R." <santiagorr@riseup.net>:
New Bug report received and forwarded. Copy sent to team@security.debian.org, Jeff Breidenbach <jab@debian.org>. (Fri, 02 Mar 2018 18:18:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Santiago R.R." <santiagorr@riseup.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: CVE-2018-7440 gplotMakeOutput() command injection vulnerability
Date: Fri, 2 Mar 2018 19:14:44 +0100
[Message part 1 (text/plain, inline)]
Source: leptonlib
Version: 1.75.3-2
Severity: grave
Tags: security patch

Hi,

the following vulnerability was published for leptonlib.

CVE-2018-7440[0]:
| An issue was discovered in Leptonica through 1.75.3. The
| gplotMakeOutput function allows command injection via a $(command)
| approach in the gplot rootname argument. This issue exists because of
| an incomplete fix for CVE-2018-3836.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2018-7440
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7440

An upstream patch is available at:

    https://github.com/DanBloomberg/leptonica/pull/313/commits/49ecb6c2dfd6ed5078c62f4a8eeff03e3beced3b

Please adjust the affected versions in the BTS as needed.
[signature.asc (application/pgp-signature, inline)]

Marked as found in versions leptonlib/1.75.3-1. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Fri, 02 Mar 2018 19:21:03 GMT) (full text, mbox, link).


Reply sent to Jeff Breidenbach <jeff@jab.org>:
You have taken responsibility. (Thu, 29 Mar 2018 19:57:10 GMT) (full text, mbox, link).


Notification sent to "Santiago R.R." <santiagorr@riseup.net>:
Bug acknowledged by developer. (Thu, 29 Mar 2018 19:57:10 GMT) (full text, mbox, link).


Message #12 received at 891932-done@bugs.debian.org (full text, mbox, reply):

From: Jeff Breidenbach <jeff@jab.org>
To: 891932-done@bugs.debian.org
Subject: CVE-2018-7440 gplotMakeOutput() command injection vulnerability
Date: Thu, 29 Mar 2018 12:53:37 -0700
[Message part 1 (text/plain, inline)]
This was fixed in 1.75.3-3.  I had  a typo in the changelog so the
upload closed the wrong bug.
[Message part 2 (text/html, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Apr 2018 07:25:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 16:42:45 2019; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.