{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2015-20107 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2015-20107 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 13 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-20107 and fix it if it is affected.\n\nWhat it is: CVE-2015-20107 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 13 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2015-20107 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2015-20107/ (Markdown: https://insights.sbomify.com/CVE-2015-20107/index.md)","id":"CVE-2015-20107","markdown":"https://insights.sbomify.com/CVE-2015-20107/index.md","name":"CVE-2015-20107","record":{"aliases":["ALPINE-CVE-2015-20107","ALSA-2022:7581","ALSA-2022:7592","ALSA-2022:7593","AZL-84293","AZL-9417","CLEANSTART-2026-UC25911","CLSA-2022-1658346144","CLSA-2022-1658346794","CLSA-2022-1658347744","CLSA-2026-1772037700","CLSA-2026-1772038463","CLSA-2026-1772146735","DEBIAN-CVE-2015-20107","GHSA-wvcr-2gc8-63gg","OESA-2022-1653","PSF-2022-1","RHSA-2022:7581","RHSA-2022:7592","RHSA-2022:7593","RLSA-2022:7581","RLSA-2022:7592","RLSA-2022:7593","SUSE-SU-2022:2147-1","SUSE-SU-2022:2166-1","SUSE-SU-2022:2174-1","SUSE-SU-2022:2248-1","SUSE-SU-2022:2249-1","SUSE-SU-2022:2291-1","SUSE-SU-2022:2344-1","SUSE-SU-2022:2357-1","SUSE-SU-2022:2357-2","UBUNTU-CVE-2015-20107","USN-5519-1","openSUSE-SU-2024:12143-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python standard library","requires_auth":"low_privilege","summary":"Attackers can inject shell commands via the mailcap module if applications pass untrusted filenames without validation, leading to code execution.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"python","vendor":"python"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Python 2 15 SP3","SUSE:Linux Enterprise Module for Python 3 15 SP4","SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2024-04-24","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-24T09:31:03Z","kind":"github_poc","ref":"https://github.com/codeskipper/python-patrol","stars":0,"title":"Scan for python installations on macOS, and run CVE-2015-20107.py script to report if patching is needed"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2015-20107","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","netapp:active_iq_unified_manager","netapp:ontap_select_deploy_administration_utility","netapp:snapcenter","python:python"],"type":"command_injection","year":"2015"},"n_packages":835,"n_references":29,"next":{"headline":"ruby-saml vulnerable to XPath injection","id":"CVE-2015-20108"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.5.1-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"babel","purl":"pkg:rpm/almalinux/babel","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.7-31.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python-nose-docs","purl":"pkg:rpm/almalinux/python-nose-docs","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python-psycopg2-doc","purl":"pkg:rpm/almalinux/python-psycopg2-doc","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.5-7.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python-psycopg2-doc","purl":"pkg:rpm/almalinux/python-psycopg2-doc","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.2-2.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python-sqlalchemy-doc","purl":"pkg:rpm/almalinux/python-sqlalchemy-doc","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.18-11.module_el8.7.0+3331+6c5bd851.alma"],"introduced":["0"],"last_affected":[],"package":"python2","purl":"pkg:rpm/almalinux/python2","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["0.28.1-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-Cython","purl":"pkg:rpm/almalinux/python2-Cython","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["0.28.1-7.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-Cython","purl":"pkg:rpm/almalinux/python2-Cython","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.0-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-PyMySQL","purl":"pkg:rpm/almalinux/python2-PyMySQL","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["17.4.0-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-attrs","purl":"pkg:rpm/almalinux/python2-attrs","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.1-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-babel","purl":"pkg:rpm/almalinux/python2-babel","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.0-16.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-backports","purl":"pkg:rpm/almalinux/python2-backports","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.0-16.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-backports","purl":"pkg:rpm/almalinux/python2-backports","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["3.5.0.1-12.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-backports-ssl_match_hostname","purl":"pkg:rpm/almalinux/python2-backports-ssl_match_hostname","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["3.7.0-1.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-bson","purl":"pkg:rpm/almalinux/python2-bson","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["3.7.0-1.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-bson","purl":"pkg:rpm/almalinux/python2-bson","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.4-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-chardet","purl":"pkg:rpm/almalinux/python2-chardet","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["4.5.1-4.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-coverage","purl":"pkg:rpm/almalinux/python2-coverage","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["4.5.1-4.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-coverage","purl":"pkg:rpm/almalinux/python2-coverage","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.18-11.module_el8.7.0+3331+6c5bd851.alma"],"introduced":["0"],"last_affected":[],"package":"python2-debug","purl":"pkg:rpm/almalinux/python2-debug","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.18-11.module_el8.7.0+3331+6c5bd851.alma"],"introduced":["0"],"last_affected":[],"package":"python2-devel","purl":"pkg:rpm/almalinux/python2-devel","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.15.0-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-dns","purl":"pkg:rpm/almalinux/python2-dns","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.16-2.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-docs","purl":"pkg:rpm/almalinux/python2-docs","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.16-2.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-docs-info","purl":"pkg:rpm/almalinux/python2-docs-info","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["0.14-12.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-docutils","purl":"pkg:rpm/almalinux/python2-docutils","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.2-13.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-funcsigs","purl":"pkg:rpm/almalinux/python2-funcsigs","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-idna","purl":"pkg:rpm/almalinux/python2-idna","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.18-6.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-ipaddress","purl":"pkg:rpm/almalinux/python2-ipaddress","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.10-9.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-jinja2","purl":"pkg:rpm/almalinux/python2-jinja2","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.18-11.module_el8.7.0+3331+6c5bd851.alma"],"introduced":["0"],"last_affected":[],"package":"python2-libs","purl":"pkg:rpm/almalinux/python2-libs","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.3-6.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-lxml","purl":"pkg:rpm/almalinux/python2-lxml","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.3-6.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-lxml","purl":"pkg:rpm/almalinux/python2-lxml","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["0.23-19.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-markupsafe","purl":"pkg:rpm/almalinux/python2-markupsafe","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["0.23-19.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-markupsafe","purl":"pkg:rpm/almalinux/python2-markupsafe","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["2.0.0-13.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-mock","purl":"pkg:rpm/almalinux/python2-mock","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.7-31.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-nose","purl":"pkg:rpm/almalinux/python2-nose","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.14.2-16.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-numpy","purl":"pkg:rpm/almalinux/python2-numpy","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.14.2-16.module_el8.6.0+3162+01a09e5a"],"introduced":["0"],"last_affected":[],"package":"python2-numpy","purl":"pkg:rpm/almalinux/python2-numpy","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.14.2-16.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-numpy-doc","purl":"pkg:rpm/almalinux/python2-numpy-doc","source":"ALSA-2022:7593"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.14.2-16.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-numpy-f2py","purl":"pkg:rpm/almalinux/python2-numpy-f2py","source":"ALSA-2022:7593"}],"prev":{"headline":"ClickBank Affiliate Ads \u003c= 1.20 - Admin+ Stored Cross-Site Scripting","id":"CVE-2015-20106"},"products":["n/a"],"published":"2022-04-13","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Attackers can inject shell commands via the mailcap module if applications pass untrusted filenames without validation, leading to code execution.","url":"https://insights.sbomify.com/CVE-2015-20107/"}