CVE-2021-31701: Mintty - Command Injection
- Cve: CVE-2021-31701
- Name: Mintty - Command Injection
- Description: Mintty before 3.4.7 mishandles Bracketed Paste Mode.
- Impact: Attackers can cause command execution or terminal disruption, leading to potential privilege escalation or denial of service.
- Remediation: Update to version 3.4.7 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00912
- Epss percentile: 0.60783
- Assignee: [email protected]
- Published at: 2021-06-06T12:15:07Z
- Age in days: 1997
- Modified at: 2026-06-17T03:52:09Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31701
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-755 | Improper Handling of Exceptional Conditions |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mintty/mintty/releases/tag/3.4.7 | nvd | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mintty_project:mintty | < 3.4.7 | no | nvd | /v1/products/mintty_project/mintty |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mintty/mintty | releases | yes | /v1/repositories/mintty/mintty |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts