Skip to content

Implement zipfile.Path.is_symlink #119588

Closed
Closed
@jaraco

Description

@jaraco

In jaraco/zipp#117, I learned that the current implementation of is_symlink might have a security risk if a user is relying on it to ensure that a zipfile has no symlinks before using another tool to extract it.

zipp 3.19.0 adds an implementation for Path.is_symlink to alleviate this risk.

CPython should adopt this change as well, possibly as a security fix.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions