Run Using 'wget' and 'curl'
- Query id: fc775e75-fcfb-4c98-b2f2-910c5858b359
- Query name: Run Using 'wget' and 'curl'
- Platform: Dockerfile
- Severity: Medium
- Category: Supply-Chain
- URL: Github
Description¶
Shouldn't use both 'wget' and 'curl' since they are two tools that have the same effect
Documentation
Code samples¶
Code samples with security vulnerabilities¶
Positive test num. 1 - dockerfile file
FROM debian
RUN wget http://google.com
RUN curl http://bing.com
FROM baseImage
RUN wget http://test.com
RUN curl http://bing.com
RUN ["curl", "http://bing.com"]