From common-issues-return-155837-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sun Aug 5 06:08:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CA2E9180626 for ; Sun, 5 Aug 2018 06:08:04 +0200 (CEST) Received: (qmail 36015 invoked by uid 500); 5 Aug 2018 04:08:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 36004 invoked by uid 99); 5 Aug 2018 04:08:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Aug 2018 04:08:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7154218124A for ; Sun, 5 Aug 2018 04:08:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id U1PydIjTTSHU for ; Sun, 5 Aug 2018 04:08:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 224225F500 for ; Sun, 5 Aug 2018 04:08:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5DA05E0026 for ; Sun, 5 Aug 2018 04:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1698423F98 for ; Sun, 5 Aug 2018 04:08:00 +0000 (UTC) Date: Sun, 5 Aug 2018 04:08:00 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15653) Please add OWASP Dependency Check to the build (pom.xml) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-15653?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 569354#comment-16569354 ]=20 Allen Wittenauer commented on HADOOP-15653: ------------------------------------------- It's already there in modern versions of Hadoop. Just run 'mvn dependency-= check:aggregate (other appropriate flags)'. It should be noted that in my= testing, the maven plugin has several deficiences that would lead someone = to get an incomplete picture. For example, it doesn't not read the node.js= package.json file. (Ofc, the standalone version doesn't read the pom file= , so ...) FWIW, the Apache Yetus team is adding support for the OWASP dependency chec= ker to precommit and qbt. See YETUS-441 for details. > Please add OWASP Dependency Check to the build (pom.xml) > -------------------------------------------------------- > > Key: HADOOP-15653 > URL: https://issues.apache.org/jira/browse/HADOOP-15653 > Project: Hadoop Common > Issue Type: New Feature > Components: build > Affects Versions: 3.0.0 > Environment: All development, build, test, environments. > Reporter: Albert Baker > Priority: Major > Labels: build, easy-fix, security > Original Estimate: 1h > Remaining Estimate: 1h > > =C2=A0Please add OWASP Dependency Check to the build (pom.xml).=C2=A0 OWA= SP DC makes an outbound REST call to MITRE Common Vulnerabilities & Exposur= es (CVE) to perform a lookup for each dependant .jar to list any/all known = vulnerabilities for each jar.=C2=A0 This step is needed because a manual MI= TRE CVE lookup/check on the main component does not include checking for vu= lnerabilities in components or in dependant libraries. > OWASP Dependency check : https://www.owasp.org/index.php/OWASP_Dependency= _Check has plug-ins for most Java build/make types (ant, maven, ivy, gradle= ).=C2=A0 =C2=A0 > Also, add the appropriate command to the nightly build to generate a repo= rt of all known vulnerabilities in any/all third party libraries/dependenci= es that get pulled in. example : mvn -Powasp -Dtest=3Dfalse -DfailIfNoTests= =3Dfalse clean aggregate > Generating this report nightly/weekly will help inform the project's deve= lopment team if any dependant libraries have a reported known vulnerailitie= s.=C2=A0 Project teams that keep up with removing vulnerabilities on a week= ly basis will help protect businesses that rely on these open source compon= ets. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org