Devpi Server
Monthly
Authenticated users can write files outside devpi-server's +files storage root before 6.21.0 by creating a user and index both named '..' and uploading a release to that index, which lands in a parent directory of the server directory. Default configurations allow anonymous self-registration and user/index creation, so the PR:L authentication requirement is a low barrier in many deployments; impact is limited because only the uploaded file's basename is attacker-chosen and the directory components are hash-derived, preventing arbitrary overwrite. The advisory includes a public proof-of-concept harness that the reporter says was confirmed by execution; the literal '/..' must reach the application un-normalised, and the issue is unavailable when running with --restrict-modify.
Authenticated users can write files outside devpi-server's +files storage root before 6.21.0 by creating a user and index both named '..' and uploading a release to that index, which lands in a parent directory of the server directory. Default configurations allow anonymous self-registration and user/index creation, so the PR:L authentication requirement is a low barrier in many deployments; impact is limited because only the uploaded file's basename is attacker-chosen and the directory components are hash-derived, preventing arbitrary overwrite. The advisory includes a public proof-of-concept harness that the reporter says was confirmed by execution; the literal '/..' must reach the application un-normalised, and the issue is unavailable when running with --restrict-modify.