{"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-05-08T11:51:56.497877Z","published":"2021-11-30T10:15:08.670Z","database_specific":{"unresolved_ranges":[{"cpe":"cpe:2.3:a:planetargon:oh_my_zsh:*:*:*:*:*:*:*:*","extracted_events":[{"fixed":"11-11-2021"}],"source":"CPE_FIELD"}]},"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":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3725.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}