CodeQL library for Java/Kotlin
codeql/java-all 0.11.0 (changelog, source)

Predicate createJacksonJsonParserStep

Holds if fromNode to toNode is a dataflow step that creates a Jackson parser.

For example, a createParser(userString) call yields a JsonParser, which becomes dangerous if passed to an unsafely-configured ObjectMapper’s readValue method.

Import path

predicate createJacksonJsonParserStep(Node fromNode, Node toNode)