CVE-2018-3836
published 2018-04-24CVE-2018-3836: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can…
PriorityP343high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
1.45%
70.8th percentile
An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | leptonlib | < leptonlib 1.75.3-1 (bookworm) | leptonlib 1.75.3-1 (bookworm) |
| debian | leptonlib | < leptonlib 1.75.3-3 (bookworm) | leptonlib 1.75.3-3 (bookworm) |
| leptonica | leptonica | <= 1.75.3 | — |
| leptonica | leptonica | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv3.07.0HIGHCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
vendor_ubuntu3.3LOW
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-x83x-c4xw-rr5g: An issue was discovered in Leptonica through 1
ghsa_unreviewed·2022-05-13·CVSS 7.8
CVE-2018-7440 [HIGH] CWE-78 GHSA-x83x-c4xw-rr5g: An issue was discovered in Leptonica through 1
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.
GHSA
GHSA-jv24-gr2j-qp4r: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1
ghsa_unreviewed·2022-05-13
CVE-2018-3836 [HIGH] CWE-78 GHSA-jv24-gr2j-qp4r: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1
An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.
OSV
leptonlib vulnerabilities
osv·2021-03-15·CVSS 3.3
CVE-2017-18196 [LOW] leptonlib vulnerabilities
leptonlib vulnerabilities
It was discovered that Leptonica incorrectly handled path names. An
attacker could possibly use this issue to obtain sensitive information.
This issue only affected Ubuntu 16.04 ESM. (CVE-2017-18196)
It was discovered that Leptonica incorrectly handled certain input
arguments. An attacker could possibly use this issue to execute arbitrary
commands. (CVE-2018-3836)
It was discovered that Leptonica incorrectly handled input arguments. An
attacker could possibly use this issue to cause a denial of service or
other unspecified impact. (CVE-2018-7186)
OSV
linux-hwe, linux-gcp vulnerabilities
osv·2018-12-04·CVSS 7.0
CVE-2018-18955 linux-hwe, linux-gcp vulnerabilities
linux-hwe, linux-gcp vulnerabilities
USN-3836-1 fixed vulnerabilities in the Linux kernel for Ubuntu 18.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 18.04 LTS for Ubuntu
16.04 LTS.
Jann Horn discovered that the Linux kernel mishandles mapping UID or GID
ranges inside nested user namespaces in some situations. A local attacker
could use this to bypass access controls on resources outside the
namespace. (CVE-2018-18955)
Philipp Wendler discovered that the overlayfs implementation in the Linux
kernel did not properly verify the directory contents permissions from
within a unprivileged user namespace. A local attacker could use this to
expose sensitive information (protected file names). (CVE-2018-6559)
OSV
CVE-2018-3836: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1
osv·2018-04-24·CVSS 7.8
CVE-2018-3836 [HIGH] CVE-2018-3836: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1
An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.
OSV
CVE-2018-7440: An issue was discovered in Leptonica through 1
osv·2018-02-23·CVSS 7.8
CVE-2018-7440 [HIGH] CVE-2018-7440: An issue was discovered in Leptonica through 1
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.
Ubuntu
Leptonica vulnerabilities
vendor_ubuntu·2021-03-15·CVSS 3.3
CVE-2018-7186 [LOW] Leptonica vulnerabilities
Title: Leptonica vulnerabilities
Summary: Several security issues were fixed in Leptonica.
It was discovered that Leptonica incorrectly handled path names. An
attacker could possibly use this issue to obtain sensitive information.
This issue only affected Ubuntu 16.04 ESM. (CVE-2017-18196)
It was discovered that Leptonica incorrectly handled certain input
arguments. An attacker could possibly use this issue to execute arbitrary
commands. (CVE-2018-3836)
It was discovered that Leptonica incorrectly handled input arguments. An
attacker could possibly use this issue to cause a denial of service or
other unspecified impact. (CVE-2018-7186)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2018-3836: leptonlib - An exploitable command injection vulnerability exists in the gplotMakeOutput fun...
vendor_debian·2018·CVSS 7.8
CVE-2018-3836 [HIGH] CVE-2018-3836: leptonlib - An exploitable command injection vulnerability exists in the gplotMakeOutput fun...
An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.
Scope: local
bookworm: resolved (fixed in 1.75.3-1)
bullseye: resolved (fixed in 1.75.3-1)
forky: resolved (fixed in 1.75.3-1)
sid: resolved (fixed in 1.75.3-1)
trixie: resolved (fixed in 1.75.3-1)
Debian
CVE-2018-7440: leptonlib - An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput functio...
vendor_debian·2018·CVSS 7.8
CVE-2018-7440 [HIGH] CVE-2018-7440: leptonlib - An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput functio...
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.
Scope: local
bookworm: resolved (fixed in 1.75.3-3)
bullseye: resolved (fixed in 1.75.3-3)
forky: resolved (fixed in 1.75.3-3)
sid: resolved (fixed in 1.75.3-3)
trixie: resolved (fixed in 1.75.3-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16876 ansible: Information disclosure in vvv+ mode with no_log on
bugzilla·2018-12-07·CVSS 5.3
CVE-2018-16876 [MEDIUM] CVE-2018-16876 ansible: Information disclosure in vvv+ mode with no_log on
CVE-2018-16876 ansible: Information disclosure in vvv+ mode with no_log on
It was found that when a retry task in ansible run with -vvv fails, it will log the raw return code, stdout and stderr from ssh which could have contained sensitive data.
Upstream patch:
https://github.com/ansible/ansible/pull/49569/commits/4c6d714aefb05366cb329e139214c89ebb364899
Discussion:
Created ansible tracking bugs for this issue:
Affects: epel-all [bug 1657390]
Affects: fedora-all [bug 1657389]
---
External References:
https://github.com/ansible/ansible/pull/49569
---
This issue has been addressed in the following products:
Red Hat Ansible Engine 2.6 for RHEL 7
Via RHSA-2018:3836 https://access.redhat.com/errata/RHSA-2018:3836
---
This issue has been addressed in the following products:
Red H
Bugzilla
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix)
bugzilla·2018-02-27·CVSS 7.8
CVE-2018-7440 [HIGH] CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix)
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix)
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.
References:
https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212
Discussion:
Created leptonica tracking bugs for this issue:
Affects: epel-all [bug 1549726]
Affects: fedora-all [bug 1549729]
Created mingw-leptonica tracking bugs for this issue:
Affects: fedora-all [bug 1549727]
Bugzilla
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [epel-all]
bugzilla·2018-02-27·CVSS 7.8
CVE-2018-7440 [HIGH] CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [epel-all]
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [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 epel-all.
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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this issue affects multip
Bugzilla
CVE-2018-7440 mingw-leptonica: leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [fedora-all]
bugzilla·2018-02-27·CVSS 7.8
CVE-2018-7440 [HIGH] CVE-2018-7440 mingw-leptonica: leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [fedora-all]
CVE-2018-7440 mingw-leptonica: leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [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-all.
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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this
Bugzilla
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [fedora-all]
bugzilla·2018-02-27·CVSS 7.8
CVE-2018-7440 [HIGH] CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [fedora-all]
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [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-all.
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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2018-3836 leptonica: gplotMakeOutput command injection
bugzilla·2018-02-05·CVSS 7.8
CVE-2018-3836 [HIGH] CVE-2018-3836 leptonica: gplotMakeOutput command injection
CVE-2018-3836 leptonica: gplotMakeOutput command injection
An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.
External References:
https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516
Discussion:
Created leptonica tracking bugs for this issue:
Affects: epel-all [bug 1542007]
Affects: fedora-all [bug 1542008]
Created mingw-leptonica tracking bugs for this issue:
Affects: fedora-all [bug 1542009]
Bugzilla
CVE-2018-3836 CVE-2018-7186 leptonica: various flaws [epel-all]
bugzilla·2018-02-05·CVSS 7.8
CVE-2018-3836 [HIGH] CVE-2018-3836 CVE-2018-7186 leptonica: various flaws [epel-all]
CVE-2018-3836 CVE-2018-7186 leptonica: various flaws [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 epel-all.
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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EPEL.
Bugzilla
CVE-2018-3836 CVE-2018-7186 mingw-leptonica: various flaws [fedora-all]
bugzilla·2018-02-05·CVSS 7.8
CVE-2018-3836 [HIGH] CVE-2018-3836 CVE-2018-7186 mingw-leptonica: various flaws [fedora-all]
CVE-2018-3836 CVE-2018-7186 mingw-leptonica: various flaws [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-all.
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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fe
Bugzilla
CVE-2018-3836 CVE-2018-7186 leptonica: various flaws [fedora-all]
bugzilla·2018-02-05·CVSS 7.8
CVE-2018-3836 [HIGH] CVE-2018-3836 CVE-2018-7186 leptonica: various flaws [fedora-all]
CVE-2018-3836 CVE-2018-7186 leptonica: various flaws [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-all.
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 submitting as an update, use the fedpkg template provided 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
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora.
2018-04-24
Published