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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html | third party advisory mailing list |
https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212 | third party advisory |
https://security.gentoo.org/glsa/202312-01 | vendor advisory |