Skip to content

Java: False positive in java/path-injection, file path sanitizer is not taken into account. #1416

Description

@xcorail

Following a FP report, we see that even if the file path is checked for .., an alert is still reported. There should be an additional sanitizing guard such as !var.contains("..") in the query

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions