
CVE catalog
CVE-2021-3013
rust-ripgrep affected and fixed versions
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.
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.93% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Opensusetumbleweed | ripgrep | 13.0.0-2.2 | Fixed | [OPENSUSE-SU-2024:11300-1] |
Showing 1 fix observations. All 16 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | rust-ripgrep | Not reported | Not affectedDistribution reports not affected | [CVE-2021-3013] |
| Debianbookworm | rust-ripgrep | 13.0.0-4 | Not affected | [CVE-2021-3013] |
| Debianforky | rust-ripgrep | Not reported | Not affectedDistribution reports not affected | [CVE-2021-3013] |
| Debianforky | rust-ripgrep | 15.2.0-1 | Not affected | [CVE-2021-3013] |
| Debiansid | rust-ripgrep | Not reported | Not affectedDistribution reports not affected | [CVE-2021-3013] |
| Debiansid | rust-ripgrep | 15.2.0-1 | Not affected | [CVE-2021-3013] |
| Debiantrixie | rust-ripgrep | Not reported | Not affectedDistribution reports not affected | [CVE-2021-3013] |
| Debiantrixie | rust-ripgrep | 14.1.1-1 | Not affected | [CVE-2021-3013] |
| Opensusetumbleweed | ripgrep | 13.0.0-2.2 | Fixed | [OPENSUSE-SU-2024:11300-1] |
| Ubuntu20.04 | rust-ripgrep | 0.10.0-2build1 | Affected | [UBUNTU-CVE-2021-3013] |
| Ubuntu20.04 | rust-ripgrep | 11.0.2-1 | Affected | [UBUNTU-CVE-2021-3013] |
| Ubuntu20.04 | rust-ripgrep | 11.0.2-1build1 | Affected | [UBUNTU-CVE-2021-3013] |
| Ubuntu20.04 | rust-ripgrep | 11.0.2-1ubuntu0.1 | Affected | [UBUNTU-CVE-2021-3013] |
| Ubuntu22.04 | rust-ripgrep | 12.1.1-1 | Affected | [UBUNTU-CVE-2021-3013] |
| Ubuntu22.04 | rust-ripgrep | 13.0.0-2 | Affected | [UBUNTU-CVE-2021-3013] |
| Ubuntu22.04 | rust-ripgrep | 13.0.0-2ubuntu0.1 | Affected | [UBUNTU-CVE-2021-3013] |
Original provider fields
{
"package_releases": [
{
"name": "rust-ripgrep",
"status": "not affected",
"release": "sid",
"version": "15.2.0-1"
},
{
"name": "rust-ripgrep",
"status": "not affected",
"release": "forky",
"version": "15.2.0-1"
},
{
"name": "rust-ripgrep",
"status": "not affected",
"release": "trixie",
"version": "14.1.1-1"
},
{
"name": "rust-ripgrep",
"status": "not affected",
"release": "bookworm",
"version": "13.0.0-4"
}
],
"fixed_versions": [
{
"bug": null,
"name": "rust-ripgrep",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "unimportant",
"fixed_version": "0"
},
{
"bug": null,
"name": "rust-ripgrep",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "unimportant",
"fixed_version": "0"
},
{
"bug": null,
"name": "rust-ripgrep",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "unimportant",
"fixed_version": "0"
},
{
"bug": null,
"name": "rust-ripgrep",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "unimportant",
"fixed_version": "0"
}
],
"distribution_packages": [
{
"name": "ripgrep",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "13.0.0-2.2"
}
]
}
],
"release": "tumbleweed",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:11300-1",
"fixed_version": "13.0.0-2.2",
"provider_source": "pypi",
"provider_record_id": "OPENSUSE-SU-2024:11300-1",
"provider_updated_at": "2026-02-04T02:16:14.009692Z"
},
{
"name": "rust-ripgrep",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "20.04",
"versions": [
"0.10.0-2build1",
"11.0.2-1",
"11.0.2-1build1",
"11.0.2-1ubuntu0.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3013",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-3013",
"provider_updated_at": "2025-10-24T04:49:10Z"
},
{
"name": "rust-ripgrep",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "22.04",
"versions": [
"12.1.1-1",
"13.0.0-2",
"13.0.0-2ubuntu0.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3013",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-3013",
"provider_updated_at": "2025-10-24T04:49:10Z"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ripgrep]Unknown
Source package: [rust-ripgrep]
Details (2)
13.0.0-4+b2· amd64 · bookwormNot affected
dsa · rust-ripgrep · debian · bookworm
13.0.0-4+b2· arm64 · bookwormNot affected
dsa · rust-ripgrep · debian · bookworm
[openSUSE Tumbleweed]
- [ripgrep]Unknown
Source package: [ripgrep]
Details (1)
15.2.0-1.2· x86_64 · tumbleweedFixed · Fixed:
13.0.0-2.2dsa · ripgrep · opensuse · tumbleweed
- [ripgrep-bash-completion]Unknown
Source package: [ripgrep]
Details (1)
15.2.0-1.2· noarch · tumbleweedUnknown · Fixed:
13.0.0-2.2Version impact unknown
dsa · ripgrep · opensuse · tumbleweed
- [ripgrep-fish-completion]Unknown
Source package: [ripgrep]
Details (1)
15.2.0-1.2· noarch · tumbleweedUnknown · Fixed:
13.0.0-2.2Version impact unknown
dsa · ripgrep · opensuse · tumbleweed
- [ripgrep-zsh-completion]Unknown
Source package: [ripgrep]
Details (1)
15.2.0-1.2· noarch · tumbleweedUnknown · Fixed:
13.0.0-2.2Version impact unknown
dsa · ripgrep · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_11300-1.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-3013]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11300-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-3013]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]