VDB

GSD-2022-40153

GSD-2022-40153 PUBLISHED

Reported by mitre · Published April 13, 2022

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

Affected Products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Apr 13, 2022 CVE Published
  • Jun 9, 2023 PoC Published
  • Jul 15, 2023 PoC Published
  • Nov 4, 2023 PoC Published
  • Dec 8, 2023 PoC Published
  • Mar 1, 2024 PoC Published
  • Apr 5, 2024 PoC Published
  • Jul 17, 2024 PoC Published
  • Feb 13, 2025 PoC Published
  • Mar 28, 2025 PoC Published
  • May 9, 2025 PoC Published
  • Sep 30, 2025 PoC Published

References

…and 10 more

Open in Interactive Console →
$ Console Community · 100/wk Open console ›