-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.10] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) #93543
Conversation
…arams (pythonGH-91993) (cherry picked from commit b9509ba) Co-authored-by: Petr Viktorin <encukou@gmail.com>
@pablogsal, do you agree? |
I agree, but I am still not confident on backporting it, so unless there is some clear consensus from everyone I would recommend to be cautious here. |
Status check is done, and it's a success ✅ . |
Who's "everyone"? |
Everyone is any core Dev interested on mailcap that want to voice their opinion. If nobody objects or everyone is just you and @gpshead then go ahead and merge it :) |
So let's ping core devs from the original issue – but I doubt even they are particularly interested in mailcap. @zooba @brettcannon @vstinner, do you agree with Greg?
|
Correct, I am not interested and thus have no opinion. 😁 |
My only strong preference is that there should be a clear what's new entry that specifies at least the name of the warning, to give users encountering this the best possible chance to figure out what has changed (and that it was us, and not something that they did). |
Will this PR be merged in 3.10? Can we resolve the issues. |
Sorry, I missed the notifications here :( Do we add What's new entries for point releases? I don't think I've seen one, but then I usually only read What's New for the @prashant1221, what issues are you having? Do you actually use mailcap? |
No, it was to close the CVE-2015-20107 in our distro, Fedora seems to have taken this patch on all python3 branches. |
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Yes, we do, especially for security fixes. Recent example: https://docs.python.org/dev/whatsnew/3.9.html#notable-changes-in-python-3-9-2 |
@encukou: Oh, this PR is not merged yet! Python 3.10 is still vulnerable, as older Python versions (3.7, 3.8 and 3.9 which still accept security fixes). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added what's new text and bumped the versionchanged stuff to 3.10.8.
Sorry for dropping the ball – this was |
(cherry picked from commit b9509ba)
Co-authored-by: Petr Viktorin encukou@gmail.com