Skip to content
Noroxi
CVE-2015-20107· NVD / CVE Program· CNA mitre

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.

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

HighCVSS 7.6 · v3.1—Proof of concept Fix available
Published
Apr 13, 2022
Updated
Jun 16, 2026
EPSS
7.1% · 94th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
30 / 40 · 7.6 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 7.1%

Affected systems

VendorProduct
pythonpython
netappactive iq unified manager
netappontap select deploy administration utility
netappsnapcenter
fedoraprojectfedora

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora35
  • fedoraproject fedora36
  • fedoraproject fedora37
  • netapp active iq unified managerall versions
  • netapp ontap select deploy administration utilityall versions
  • netapp snapcenterall versions
  • python python3.7.0 and later · up to 3.7.15 inclusive
  • python python3.10.0 and later · before 3.10.8
  • python python3.9.0 and later · up to 3.9.15 inclusive
  • python python3.8.0 and later · up to 3.8.15 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8babelbefore 2.5.1-10.module_el8.6.0+2781+fed64c132.5.1-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8platform-pythonbefore 3.6.8-47.el8_6.alma3.6.8-47.el8_6.alma
AlmaLinux:8platform-python-debugbefore 3.6.8-47.el8_6.alma3.6.8-47.el8_6.alma
AlmaLinux:8platform-python-develbefore 3.6.8-47.el8_6.alma3.6.8-47.el8_6.alma
AlmaLinux:8python-nose-docsbefore 1.3.7-31.module_el8.6.0+2781+fed64c131.3.7-31.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-psycopg2-docbefore 2.7.5-7.module_el8.6.0+3162+01a09e5a2.7.5-7.module_el8.6.0+3162+01a09e5a
AlmaLinux:8python-psycopg2-docbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-sqlalchemy-docbefore 1.3.2-2.module_el8.6.0+2781+fed64c131.3.2-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2before 2.7.18-11.module_el8.7.0+3331+6c5bd851.alma2.7.18-11.module_el8.7.0+3331+6c5bd851.alma
AlmaLinux:8python2-attrsbefore 17.4.0-10.module_el8.6.0+2781+fed64c1317.4.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-babelbefore 2.5.1-10.module_el8.6.0+2781+fed64c132.5.1-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-backportsbefore 1.0-16.module_el8.6.0+3162+01a09e5a1.0-16.module_el8.6.0+3162+01a09e5a
AlmaLinux:8python2-backportsbefore 1.0-16.module_el8.6.0+2781+fed64c131.0-16.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-backports-ssl_match_hostnamebefore 3.5.0.1-12.module_el8.6.0+2781+fed64c133.5.0.1-12.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-bsonbefore 3.7.0-1.module_el8.6.0+3162+01a09e5a3.7.0-1.module_el8.6.0+3162+01a09e5a
AlmaLinux:8python2-bsonbefore 3.7.0-1.module_el8.6.0+2781+fed64c133.7.0-1.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-chardetbefore 3.0.4-10.module_el8.6.0+2781+fed64c133.0.4-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-coveragebefore 4.5.1-4.module_el8.6.0+3162+01a09e5a4.5.1-4.module_el8.6.0+3162+01a09e5a
AlmaLinux:8python2-coveragebefore 4.5.1-4.module_el8.6.0+2781+fed64c134.5.1-4.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-Cythonbefore 0.28.1-7.module_el8.6.0+3162+01a09e5a0.28.1-7.module_el8.6.0+3162+01a09e5a
AlmaLinux:8python2-Cythonbefore 0.28.1-7.module_el8.6.0+2781+fed64c130.28.1-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-debugbefore 2.7.18-11.module_el8.7.0+3331+6c5bd851.alma2.7.18-11.module_el8.7.0+3331+6c5bd851.alma
AlmaLinux:8python2-develbefore 2.7.18-11.module_el8.7.0+3331+6c5bd851.alma2.7.18-11.module_el8.7.0+3331+6c5bd851.alma
AlmaLinux:8python2-dnsbefore 1.15.0-10.module_el8.6.0+2781+fed64c131.15.0-10.module_el8.6.0+2781+fed64c13

+96

Other highest-scoring records for the same primary product.

  • CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot
    47Plan
  • CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth
    46Plan
  • CVE-2014-4650The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which al
    46Plan
  • CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C
    45Plan
  • CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:platform-python3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:platform-python-debug3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:platform-python-devel3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:python3-idle3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:python3-libs3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:python3-test3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:python3-tkinter3.6.8-47.el8_6.alma · AlmaLinux:8Package registry (OSV)
almalinux:python383.8.13-1.module_el8.7.0+3344+99a6a656 · AlmaLinux:8Package registry (OSV)
almalinux:python38-asn1crypto1.2.0-3.module_el8.6.0+2778+cd494b30 · AlmaLinux:8Package registry (OSV)
almalinux:python38-atomicwrites1.3.0-8.module_el8.6.0+2778+cd494b30 · AlmaLinux:8Package registry (OSV)
almalinux:python38-Cython0.29.14-4.module_el8.6.0+2778+cd494b30 · AlmaLinux:8Package registry (OSV)
almalinux:python38-PyMySQL0.10.1-1.module_el8.6.0+2778+cd494b30 · AlmaLinux:8Package registry (OSV)
alpine:python33.10.5-r0 · Alpine:v3.17Package registry (OSV)
debian:pypy37.3.11+dfsg-1 · Debian:12Package registry (OSV)
debian:python2.72.7.16-2+deb10u2 · Debian:10Package registry (OSV)
debian:python3.73.7.3-2+deb10u5 · Debian:10Package registry (OSV)
debian:python3.93.9.2-1+deb11u2 · Debian:11Package registry (OSV)
opensuse:python3103.10.5-150400.4.7.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:python310-core3.10.5-150400.4.7.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:python310-documentation3.10.5-150400.4.7.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:python393.9.13-150300.4.13.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python39-core3.9.13-150300.4.13.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python39-documentation3.9.13-150300.4.13.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:platform-python0:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:platform-python-debug0:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:platform-python-devel0:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:python30:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:python3-debuginfo0:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:python3-debugsource0:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:python3-idle0:3.6.8-47.el8_6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)

+30

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02024-04-24

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+741 d
  3. TodaySep 30, 2026+1631 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
high · data or configuration can be modified
Availability
low · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
High
Availability impact
Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records