不正确的资源访问授权-Checkmarx-Java

不正确的资源访问授权-Checkmarx-Java,java,spring-boot,mongodb-query,spring-data-mongodb,checkmarx,Java,Spring Boot,Mongodb Query,Spring Data Mongodb,Checkmarx,我有一段代码 @Repository public interface AbcRepo extends MongoRepository<Abc,String>{ @Query(value = "{endDate:{$lt:?0}}") public List<Abc> findAllInfo(DateTime t); } @存储库 公共接口AbcRepo扩展了MongoRepository{ @查询(value=“{endDate:{$lt:?0}”) 公共列表find

我有一段代码

@Repository
public interface AbcRepo extends MongoRepository<Abc,String>{
@Query(value = "{endDate:{$lt:?0}}")
public List<Abc> findAllInfo(DateTime t);
}
@存储库
公共接口AbcRepo扩展了MongoRepository{
@查询(value=“{endDate:{$lt:?0}”)
公共列表findAllInfo(日期时间t);
}
通过checkmarx运行代码时。我发现“不正确的资源访问授权”

关于如何解决这个问题有什么帮助吗