-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolver: don't use str.format (#11044)
We were using .format over a user controlled string, the project prefix. This can be used to traverse to some private variables in some cases (this isn't the case here), or to cause a DoS by using an expensive format operation (`{language:>999999999999}`). This isn't a security issue, since we don't expose the prefix to users yet.
- Loading branch information
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters