CVE-2018-7440
An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutp ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | leptonlib | 1.75.3-3 |
| debian 12 | leptonlib | 1.75.3-3 |
| debian 13 | leptonlib | 1.75.3-3 |
| debian 14 | leptonlib | 1.75.3-3 |
| debian 7 | leptonlib | 1.69-3.1+deb7u2 |
| echo | leptonlib | 1.75.3-3 |
| ubuntu 18.04 | leptonlib | 1.75.3-3 |
| ubuntu 18.04-ESM | leptonlib | 1.75.3-3 |
References
- https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212
- https://github.com/DanBloomberg/leptonica/pull/313/commits/49ecb6c2dfd6ed5078c62f4a8eeff03e3beced3b
- https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html
- https://security.gentoo.org/glsa/202312-01
- https://www.cve.org/CVERecord?id=CVE-2018-7440