{"id":"UBUNTU-CVE-2018-19486","details":"Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involving the run_command() API and run-command.c, because there was a dangerous change from execvp to execv during 2017.","modified":"2026-02-04T02:54:16.090212Z","published":"2018-11-23T00:00:00Z","related":["USN-3829-1"],"upstream":["CVE-2018-19486"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-19486"},{"type":"REPORT","url":"https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3829-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-19486"}],"affected":[{"package":{"name":"git","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/git@1:2.17.1-1ubuntu0.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.17.1-1ubuntu0.4"}]}],"versions":["1:2.14.1-1ubuntu4","1:2.15.1-1ubuntu2","1:2.17.0-1ubuntu1","1:2.17.1-1ubuntu0.1","1:2.17.1-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-all"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-cvs"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-daemon-run"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-daemon-sysvinit"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-el"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-email"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-gui"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-man"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-mediawiki"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"git-svn"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"gitk"},{"binary_version":"1:2.17.1-1ubuntu0.4","binary_name":"gitweb"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19486.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}