{"id":"UBUNTU-CVE-2021-3013","details":"ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the -z/--search-zip or --pre flag.","modified":"2025-10-24T04:49:10Z","published":"2021-06-11T12:15:00Z","upstream":["CVE-2021-3013"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3013"},{"type":"REPORT","url":"https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md"},{"type":"REPORT","url":"https://github.com/BurntSushi/ripgrep/issues/1773"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3013"}],"affected":[{"package":{"name":"rust-ripgrep","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-ripgrep@11.0.2-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-2build1","11.0.2-1","11.0.2-1build1","11.0.2-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ripgrep","binary_version":"11.0.2-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3013.json"}},{"package":{"name":"rust-ripgrep","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-ripgrep@13.0.0-2ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["12.1.1-1","13.0.0-2","13.0.0-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ripgrep","binary_version":"13.0.0-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3013.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}