Skip to content

Security vulnerability - tempfiles.mktemp #142

Open

Description

@claytonparnell

Hello, our package sagemaker-python-sdk uses multiprocess, and was flagged for a vulnerability, due to the use of tempfile.mktemp() here and in several other places. You can read more about the vulnerability here. Can you please refactor to avoid this security vulnerability?

Thanks!

Activity

  1. mmckerns commented on May 5, 2023

    @mmckerns
    Member

    @claytonparnell: Not sure if you read our security policy: https://github.com/uqfoundation/.github/blob/main/SECURITY.md

    The lines you refer to are exactly the same as is in the stdlib, and if you read the relevant discussion is here:
    python/cpython#87770

    and here, it suggests that the code is as secure as possible:
    python/cpython#86444

    Hence, python chose not to change the exact lines in multiprocessing. This will need some forensics.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions