[ 
https://issues.apache.org/jira/browse/KNOX-2643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Larry McCay updated KNOX-2643:
------------------------------
    Fix Version/s:     (was: 1.6.0)
                   2.0.0

> TopologyService should validate descriptor and provider config file paths
> -------------------------------------------------------------------------
>
>                 Key: KNOX-2643
>                 URL: https://issues.apache.org/jira/browse/KNOX-2643
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.5.0
>            Reporter: Philip Zampino
>            Priority: Major
>             Fix For: 2.0.0
>
>
> DefaultTopologyService#deployProviderConfiguration and 
> DefaultTopologyService#deployDescriptor blindly trust the file name without 
> validating that the location will be bound to the expected resource directory 
> (e.g., sharedProvidersDirectory, descriptorsDirectory).
> Names that would place the file outside the expected location or intent 
> (e.g., ../gateway-site.xml) should be rejected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to