CVE-2018-3836

NameCVE-2018-3836
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1284-1
NVD severityhigh (attack range: local)
Debian Bugs889759

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
leptonlib (PTS)wheezy1.69-3.1vulnerable
wheezy (security)1.69-3.1+deb7u2fixed
jessie1.71-2.1vulnerable
stretch1.74.1-1vulnerable
buster, sid1.76.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
leptonlibsource(unstable)1.75.3-1high889759
leptonlibsourcewheezy1.69-3.1+deb7u1highDLA-1284-1

Notes

[stretch] - leptonlib <no-dsa> (Minor issue)
[jessie] - leptonlib <no-dsa> (Minor issue)
https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516
https://github.com/DanBloomberg/leptonica/issues/303
When fixing this issue make sure the fix is complete and includes as well
https://github.com/DanBloomberg/leptonica/pull/313/commits/49ecb6c2dfd6ed5078c62f4a8eeff03e3beced3b
to not open CVE-2018-7440.

Search for package or bug name: Reporting problems