PT-2021-21596

CVE-2021-3727

·

Published

2021-11-30

·

Updated

2021-12-01

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions ohmyzsh versions prior to the version that includes commit 72928432
Description The issue concerns command injection through quotes fetched from external APIs by the rand-quote and hitokoto plugins. These plugins process quotes from quotationspage.com and hitokoto.cn, respectively, and then print them using print -P. If the quotes contain specific symbols, they could trigger command injection. Since the quotes come from external APIs, it's not possible to guarantee their safety. The quote function in the rand-quote plugin and the hitokoto function in the hitokoto plugin are impacted.
Recommendations As a temporary workaround, consider disabling the quote function in the rand-quote plugin and the hitokoto function in the hitokoto plugin until a patch is available. Update to a version that includes commit 72928432 to resolve the issue.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾