Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

new Yaml(new org.yaml.snakeyaml.constructor.Constructor() [, ...])

This is These are not vulnerable:

new Yaml(new org.yaml.snakeyaml.constructor.SafeConstructor() [, ...])

new Yaml(new org.yaml.snakeyaml.constructor.SafeConstructor(new LoaderOptions()) [, ...])

If a different Constructor is passed as first parameter you need to check it manually.

...

If SnakeYaml is only used to parse a hard-coded yaml file like a configuration file from the git repository then there is no exploit.

...