Skip to content

Drop in replacement for Snake YAML 1.33, this is a fork of the latest changes. The default constructors have been changed to no longer allow remote execution during deserialization.

License

Notifications You must be signed in to change notification settings

Konloch/SafeYAML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SafeYAML

Drop in replacement for Snake YAML 1.34/2.0, this is a fork of the latest changes. The default constructors have been changed to no longer allow remote execution during deserialization.

For more information read - https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in

You probably don't need this dependency if you're not familiar with the issue, feel free to just ignore it.

This library is unlikely to get updated beyond importing changes from upstream, so if you have an idea (not security related) please just forward it upstream.

How To Add As Library

Add it as a maven dependency or just download the latest release.

<dependency>
  <groupId>com.konloch</groupId>
  <artifactId>SafeYAML</artifactId>
  <version>1.34.0</version>
</dependency>

Disclaimer

  • All tests have been moved to the test branch
  • This library has been built and is released for Java-8, if you require Java-7 please let me know and I can look into that.
  • Slightly different versioning numbers, we use 1.34.0 and upstream uses 1.34

About

Drop in replacement for Snake YAML 1.33, this is a fork of the latest changes. The default constructors have been changed to no longer allow remote execution during deserialization.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages