{"id":"CVE-2021-3725","published":"2021-11-30T09:30:14Z","modified":"2024-08-03T17:01:08Z","title":"OS Command Injection in ohmyzsh/ohmyzsh","vendor":"ohmyzsh","product":"ohmyzsh/ohmyzsh","tier":"tail","description":{"text":"Vulnerability in dirhistory plugin Description: the widgets that go back and forward in the directory history, triggered by pressing Alt-Left and Alt-Right, use functions that unsafely execute eval on directory names. If you cd into a directory with a carefully-crafted name, then press Alt-Left, the system is subject to command injection. Impacted areas: - Functions pop_past and pop_future in dirhistory plugin.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01052,"percentile":0.64215,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/ohmyzsh/ohmyzsh/commit/06fc5fb","tags":["x_refsource_MISC"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":12.84},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ohmyzsh","affectedVersions":[{"vendor":"ohmyzsh","product":"ohmyzsh/ohmyzsh","versions":[">= unspecified, < 06fc5fb"]}],"euvd":{"id":"EUVD-2021-27005","exploited":false,"provenance":"source"}}