Problem statement:
Xray blocks a vulnerable artifact in artifactory and an artifactory user who has non-admin permissions can also override this blocking by clicking on artifact -> Xray Tab -> Allow Download option.
Impact:
A user who is not supposed to allow downloads of a blocked artifact can do it.
Steps to reproduce:
- Deploy a vulnerable artifact to a local repository
- Scan it using Xray and create a policy to block artifact
- See that the artifact is blocked in artifactory
- Create a user with upto delete/overwrite permissions to local repositories in artifactory
- Login with this user and notice that you can choose 'Allow Downloads' for the blocked artifact
- contains
-
RTFACT-20976 UI Fix - Xray "Allow Download" should be greyed out while not permitted
- Open