Skip to content

Conversation

@ajackson
Copy link
Contributor

@ajackson ajackson commented Apr 4, 2023

  • explicitly add dependency on snakeyaml since we import it directly in the code
  • use SafeConstructor form of the Yaml object construction to mitigate CVE-2022-1471

- explicitly add dependency on snakeyaml since we import it directly in the code
- use SafeConstructor form of the Yaml object construction to mitigate CVE-2022-1471
@ajackson
Copy link
Contributor Author

ajackson commented Apr 4, 2023

Note the Dependency Review will fail due to explicit inclusion of snakeyaml 1.33 but the code mitigation using the SafeConstructor is applied.
https://wiki.folio.org/display/SEC/SnakeYaml+SafeConstructor

@ajackson
Copy link
Contributor Author

ajackson commented Apr 4, 2023

A better fix using snakeyaml 2.0 #839

@ajackson ajackson closed this Apr 4, 2023
@ajackson ajackson deleted the jacksonal/MONIT-34093 branch April 4, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants