Communication problem- api.nodesecurity.io, jeremylong.github.io
See original GitHub issueHello, from some time we are getting problem when performing dependency checks.
jobs were working fine, we didnt changed anything- as well as in dependencies, as on infrastructure or on proxy. Env. server behind proxy, not whitelisted ips are restricted, plugin version- lastest, 3.0.2 at the moment (we have nvd.nist.gov whitelisted)
Jobs fails on following
09:42:39 [DependencyCheck] Exception Caught: org.owasp.dependencycheck.analyzer.exception.AnalysisException
09:42:39 [DependencyCheck] Cause: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
09:42:39 [DependencyCheck] Message: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
09:42:39 [DependencyCheck] org.owasp.dependencycheck.analyzer.exception.AnalysisException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
09:42:39 [DependencyCheck] at org.owasp.dependencycheck.analyzer.NspAnalyzer.analyzeDependency(NspAnalyzer.java:272)
09:42:39 [DependencyCheck] at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:137)
09:42:39 [DependencyCheck] at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
09:42:39 [DependencyCheck] at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
09:42:39 [DependencyCheck] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09:42:39 [DependencyCheck] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
09:42:39 [DependencyCheck] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
09:42:39 [DependencyCheck] at java.lang.Thread.run(Thread.java:745)
09:42:39 [DependencyCheck] Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
09:42:39 [DependencyCheck] at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2084)
09:42:39 [DependencyCheck] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
09:42:39 [DependencyCheck] at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
09:42:39 [DependencyCheck] at org.owasp.dependencycheck.data.nsp.NspSearch.submitPackage(NspSearch.java:114)
09:42:39 [DependencyCheck] at org.owasp.dependencycheck.analyzer.NspAnalyzer.analyzeDependency(NspAnalyzer.java:174)
09:42:39 [DependencyCheck] ... 7 more
09:42:39 [DependencyCheck]
09:42:39 Build step 'Invoke OWASP Dependency-Check analysis' changed build result to FAILURE
After some searching, we got the info plugin is trying to communicate to other sites- on HTTPS, 443, with jeremylong.github.io and api.nodesecurity.io (As I mentioned above, what is not whitelisted is restricted, we didnt have these sites whitelisted, because there wasnt any reason in the past) Communication is bellow
Dec 19 08:32:40 <our proxy ip> 2017-12-19 08:32:39 12675 <OUR IP> - - - - OBSERVED "Government/Legal;Technology/Internet" - 200 TCP_TUNNELED CONNECT - tcp nvd.nist.gov 443 / - - "Java/1.8.0_60" 165.72.197.34 2370590 977 -
Dec 19 08:34:07 <our proxy ip> 2017-12-19 08:34:06 22 <OUR IP> - - - policy_denied DENIED "Technology/Internet" - 403 TCP_DENIED CONNECT - tcp jeremylong.github.io 443 / - - "Java/1.8.0_60" 165.72.197.33 184 192 -
Dec 19 08:34:10 <our proxy ip> 2017-12-19 08:34:10 72 <OUR IP> - - - policy_denied DENIED "Technology/Internet" - 403 TCP_DENIED CONNECT - tcp api.nodesecurity.io 443 / - - "Java/1.8.0_60" 165.72.197.33 184 190 -
Dec 19 08:41:19 <our proxy ip> 2017-12-19 08:41:17 614 <OUR IP> - - - - OBSERVED "Technology/Internet;Office/Business Applications" - 200 TCP_TUNNELED CONNECT - tcp github.com 443 / - - "Java/1.8.0_60" 165.72.197.33 7351 913 -
Dec 19 08:41:29 <our proxy ip> 2017-12-19 08:41:28 10473 <OUR IP> - - - - OBSERVED "Software Downloads;Content Servers" - 200 TCP_TUNNELED CONNECT - tcp github-production-release-asset-2e65be.s3.amazonaws.com 443 / - - "Java/1.8.0_60" <another IP> 3578 1550 -
Dec 19 08:42:38 <our proxy ip> 2017-12-19 08:42:38 4 <OUR IP> - - - policy_denied DENIED "Technology/Internet" - 403 TCP_DENIED CONNECT - tcp jeremylong.github.io 443 / - - "Java/1.8.0_60" 165.72.197.34 186 192 -
Dec 19 08:42:40 <our proxy ip> 2017-12-19 08:42:39 65 <OUR IP> - - - policy_denied DENIED "Technology/Internet" - 403 TCP_DENIED CONNECT - tcp api.nodesecurity.io 443 / - - "Java/1.8.0_60" 165.72.197.33 184 190 -
Can you, please, provide us some info, if it is necessary to communicate with these sites, or not? Can you, please, provide us some info about the communication- scheme- in case of dependency checking? It looks like plugin is trying to communicate with these sites first, before nvd database, and in our case it of course fails.
We are confused because it was working before, but not anymore- did changed anything, or?
Thanks for any info. Pavel Novak
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top GitHub Comments
The check to
jeremylong.github.io
is just a simple version check - it pulls down jeremylong.github.io/DependencyCheck/current.txt and compares the version you are running to the latest published version - if you are behind it prints a warning message indicating you should upgrade. This can be disabled by setting a system property (updater.versioncheck.enabled) to false (i.e. in mvn add-Dupdater.versioncheck.enabled=false
).The usage of NSP was added with the updates to support node.js. The root package.json of a node app is parsed and some of the info is sent off to NSP for analysis. The NSP analyzer can be disabled - see the documentation site for more details.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.