The RFC822Message class in the packaging metadata module has a header injection vulnerability. When writing…
The RFC822Message class in the packaging metadata module has a header injection vulnerability. When writing…: a task in repo2rlenv-swe-gen (Harbor dataset). For example: python meta = metadata.Metadata.from raw({"author": "a\rRequires-Dist: evil"}) meta.as rfc822() writes both an 'author' header…
Part of FineEnvs/repo2rlenv-swe-gen.