Skip to content

bug #102387

Closed as not planned
Closed as not planned

Description

@zhangxueping-zxp

Bug report

Python command injection vulnerability (CVE-2015-2007)

Python version 3.10.4 and earlier has a security vulnerability, which is due to the mailcap module not adding escape characters to the commands found in the system mailcap file

Your environment

Python 3.7.9

  • CPython versions tested on:
  • Operating system and architecture:
    windows and linux

Activity

  1. JelleZijlstra commented on Mar 3, 2023

    @JelleZijlstra
    Member

    Your CVE link is wrong but I think this is a duplicate of #68966.

  2. zhangxueping-zxp commented on Mar 3, 2023

    @zhangxueping-zxp
    Author

    This is the result of vulnerability scanning. Do you have any fixes for the old version

  3. JelleZijlstra commented on Mar 3, 2023

    @JelleZijlstra
    Member

    #93543 fixed it for 3.10

  4. zhangxueping-zxp commented on Mar 3, 2023

    @zhangxueping-zxp
    Author

    Hello, I know that 3.10 has been fixed, but I don't update the version. I still use python 3.7.9. Is there any way

  5. ericvsmith commented on Mar 3, 2023

    @ericvsmith
    Member

    It was backported to 3.7 in #98191. That was in October 2022, and 3.7's last binary installer release was 3.7.9, released on 2020-08-17. You can either build a newer version from source yourself, or get a binary release from a third party.

  6. JelleZijlstra commented on Mar 3, 2023

    @JelleZijlstra
    Member

    Or upgrade to a newer version, which is a good idea anyway as 3.7 will stop receiving security fixes in a few months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions