-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump snakeyaml to 2.0 * tests: adapt to changes in exception messages Adapt to changes to exception messages in SnakeYAML 2.0 * unsafe is still globally unsafe SnakeYAML 2.0 responded to CVE-2022-1471 by disallowing global tags by default for any usage. Global tags were never allowed when using the SnakeYAML SafeConstructor which clj-yaml uses by default. This is why we felt we were not affected by CVE-2022-1471. When the user requests `:unsafe` YAML, clj-yaml use the SnakeYAML Constructor. We adapt to 2.0 changes by continuing to allow globally unsafe construction under this usage via the TrustedTagInspector, which allows any and all tags to be created. For fine grained tag creation permissions, users can opt to use clj-yaml's `:unknown-tag-fn`. * configure nvd scan to ignore false positives I previously determined that 2 false positives did not apply to SnakeYAML but I configured these false positives to be ignored for v1.33 of SnakeYAML only. Globally ignore them instead to that they apply to all versions of SnakeYAML. * Adapt to removal of TrustedTagInspector SnakeYAML 2.1 will remove TrustedTagInspector. Do effectively the same work via a reify-ed TagInspector. * turf accidentally added space * deps: bump snakeyaml to v2.1 * docs: update changelog
- Loading branch information
Showing
5 changed files
with
18 additions
and
12 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
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
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