-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Warn on bidirectional Unicode text (CVE-2021-42574) #17514
Labels
topic/security
Something leaks user information or is otherwise vulnerable. Should be fixed!
Comments
lunny
added
the
topic/security
Something leaks user information or is otherwise vulnerable. Should be fixed!
label
Nov 2, 2021
This is a big deal for development teams looking to mitigate risk related to CVE-2021-42574. Proper code review is considerably harder without a feature like this in place. |
For the wording of warning message, I suggest:
|
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Nov 5, 2021
Fix go-gitea#17514 Signed-off-by: Andrew Thornton <[email protected]>
6543
pushed a commit
that referenced
this issue
Jan 7, 2022
Fix #17514 Given the comments I've adjusted this somewhat. The numbers of characters detected are increased and include things like the use of U+300 to make à instead of à and non-breaking spaces. There is a button which can be used to escape the content to show it. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Gwyneth Morgan <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
…a#17562) Fix go-gitea#17514 Given the comments I've adjusted this somewhat. The numbers of characters detected are increased and include things like the use of U+300 to make à instead of à and non-breaking spaces. There is a button which can be used to escape the content to show it. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Gwyneth Morgan <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature Description
After the public disclosure of CVE-2021-42574, Github now displays a warning when a file's contents include bidirectional Unicode text in order to mitigate the effects of the flaw.
It would be nice if Gitea could implement similar functionality.
Screenshots
No response
The text was updated successfully, but these errors were encountered: