{"id":"CVE-2021-3725","details":"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.","modified":"2026-10-20T10:53:51.633663610Z","published":"2021-11-30T10:15:08.670Z","database_specific":{"unresolved_ranges":[{"vendor_product":"planetargon:oh_my_zsh","cpes":["cpe:2.3:a:planetargon:oh_my_zsh:*:*:*:*:*:*:*:*"],"extracted_events":[{"source":"CPE_RANGE","range":[{"fixed":"11-11-2021"}]}]}]},"references":[{"type":"FIX","url":"https://github.com/ohmyzsh/ohmyzsh/commit/06fc5fb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ohmyzsh/ohmyzsh","events":[{"introduced":"0"},{"fixed":"06fc5fb"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"06fc5fb"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3725.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}