{"id":"UBUNTU-CVE-2018-16741","details":"An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, &&, or \u003e characters within a file created by the \"faxq-helper activate \u003cjobid\u003e\" command.","modified":"2025-10-24T04:47:12Z","published":"2018-09-13T16:29:00Z","upstream":["CVE-2018-16741"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16741"},{"type":"REPORT","url":"https://www.x41-dsec.de/lab/advisories/x41-2018-007-mgetty/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-16741"}],"affected":[{"package":{"name":"mgetty","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mgetty@1.1.36-2.1+deb8u1build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.36-2.1+deb8u1build0.16.04.1"}]}],"versions":["1.1.36-2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.36-2.1+deb8u1build0.16.04.1","binary_name":"mgetty"},{"binary_version":"1.1.36-2.1+deb8u1build0.16.04.1","binary_name":"mgetty-docs"},{"binary_version":"1.1.36-2.1+deb8u1build0.16.04.1","binary_name":"mgetty-fax"},{"binary_version":"1.1.36-2.1+deb8u1build0.16.04.1","binary_name":"mgetty-pvftools"},{"binary_version":"1.1.36-2.1+deb8u1build0.16.04.1","binary_name":"mgetty-viewfax"},{"binary_version":"1.1.36-2.1+deb8u1build0.16.04.1","binary_name":"mgetty-voice"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16741.json"}},{"package":{"name":"mgetty","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mgetty@1.1.36-3.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.36-3.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.36-3.1","binary_name":"mgetty"},{"binary_version":"1.1.36-3.1","binary_name":"mgetty-docs"},{"binary_version":"1.1.36-3.1","binary_name":"mgetty-fax"},{"binary_version":"1.1.36-3.1","binary_name":"mgetty-pvftools"},{"binary_version":"1.1.36-3.1","binary_name":"mgetty-viewfax"},{"binary_version":"1.1.36-3.1","binary_name":"mgetty-voice"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16741.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}