Improper Input Validation Affecting platform-python package, versions <0:3.6.8-47.el8_6


medium

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.14% (50th percentile)
Expand this section
NVD
7.6 high
Expand this section
SUSE
7.1 high
Expand this section
Red Hat
7.6 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-PLATFORMPYTHON-2766505
  • published 18 Apr 2022
  • disclosed 2 Aug 2015

How to fix?

Upgrade Centos:8 platform-python to version 0:3.6.8-47.el8_6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream platform-python package and not the platform-python package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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

References