OS Command Injection In python3
Description
In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
alpine v3.17 | 3.10.5-r0 | ||
alpine v3.18 | 3.10.5-r0 | ||
alpine v3.20 | 3.10.5-r0 | ||
alpine v3.21 | 3.10.5-r0 | ||
alpine v3.22 | 3.10.5-r0 | ||
debian 13 | 7.3.11+dfsg-1 | ||
debian 12 | 7.3.11+dfsg-1 | ||
debian 14 | 7.3.11+dfsg-1 | ||
rpm rhel9 | 0:3.9.14-1.el9 | ||
rpm rhel8 | 0:3.8.13-1.module+el8.7.0+15641+2ece4388 |
1-10 of 18
10
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1.