{"action":"created","issue":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/785","repository_url":"https://api.github.com/repos/jeremylong/DependencyCheck","labels_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/785/labels{/name}","comments_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/785/comments","events_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/785/events","html_url":"https://github.com/jeremylong/DependencyCheck/issues/785","id":240607071,"node_id":"MDU6SXNzdWUyNDA2MDcwNzE=","number":785,"title":"Gradle plugin 1.4.5.1 intermittently fails GAVC suppressions","user":{"login":"SteveSmithCD","id":7580611,"node_id":"MDQ6VXNlcjc1ODA2MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7580611?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveSmithCD","html_url":"https://github.com/SteveSmithCD","followers_url":"https://api.github.com/users/SteveSmithCD/followers","following_url":"https://api.github.com/users/SteveSmithCD/following{/other_user}","gists_url":"https://api.github.com/users/SteveSmithCD/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveSmithCD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveSmithCD/subscriptions","organizations_url":"https://api.github.com/users/SteveSmithCD/orgs","repos_url":"https://api.github.com/users/SteveSmithCD/repos","events_url":"https://api.github.com/users/SteveSmithCD/events{/privacy}","received_events_url":"https://api.github.com/users/SteveSmithCD/received_events","type":"User","site_admin":false},"labels":[{"id":13090908,"node_id":"MDU6TGFiZWwxMzA5MDkwOA==","url":"https://api.github.com/repos/jeremylong/DependencyCheck/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-05T10:29:25Z","updated_at":"2018-09-28T00:08:04Z","closed_at":"2017-07-18T09:50:45Z","author_association":"NONE","body":"Hi\r\n\r\nI've had a weird intermittent failure with v1.4.5.1 of the Gradle plugin for the past few days. I think I've narrowed it down to GAVC checking of a suppressions file. \r\n\r\nMy dependency check config is:\r\n\r\n    dependencyCheck {\r\n        failBuildOnCVSS=6\r\n        suppressionFile='owasp-dependency-suppressions.xml'\r\n    }\r\n\r\nAnd my suppressions file previously contained:\r\n\r\n    <suppress>\r\n        <notes/>\r\n        <gav regex=\"true\">com\\.fasterxml\\.jackson\\.core:jackson.*</gav>\r\n        <cve>CVE-2016-3720</cve>\r\n    </suppress>\r\n    <suppress>\r\n        <notes/>\r\n        <gav regex=\"true\">org\\.apache\\.tomcat\\.embed:tomcat-embed.*</gav>\r\n        <cve>CVE-2016-6325</cve>\r\n    </suppress>\r\n    <suppress>\r\n        <notes/>\r\n        <gav regex=\"true\">org\\.apache\\.tomcat\\.embed:tomcat-embed.*</gav>\r\n        <cve>CVE-2016-5425</cve>\r\n    </suppress>\r\n    <suppress>\r\n        <notes/>\r\n        <gav regex=\"true\">ch\\.qos\\.logback:logback.*</gav>\r\n        <cve>CVE-2017-5929</cve>\r\n    </suppress>\r\n\r\nWhen I ran `./gradlew dependencyCheck` I had intermittent failures that suggested the suppression file had been ignored altogether. \r\n\r\n    One or more dependencies were identified with known vulnerabilities:\r\n\r\n    jackson-annotations-2.8.0.jar (com.fasterxml.jackson.core:jackson-annotations:2.8.0, cpe:/a:fasterxml:jackson:2.8.0) : CVE-2016-7051\r\n    .... etc.\r\n\r\nI looked at a successful build log and noticed the GAVC coordinates had been missing from the failed build log\r\n\r\n    One or more dependencies were identified with known vulnerabilities:\r\n\r\n    jackson-annotations-2.8.0.jar (com.fasterxml.jackson.core:jackson-annotations:2.8.0, cpe:/a:fasterxml:jackson:2.8.0) : CVE-2016-7051\r\n    .... etc.\r\n\r\nI changed all of my suppression file entries from GAVC to CPE, and my builds are now consistently successful.\r\n\r\n    <suppress>\r\n        <notes/>\r\n        <cpe regex=\"true\">/a:fasterxml:jackson.*</cpe>\r\n        <cve>CVE-2016-3720</cve>\r\n    </suppress>\r\n    <suppress>\r\n        <notes/>\r\n        <cpe regex=\"true\">/a:apache_tomcat:apache_tomcat:.*</cpe>\r\n        <cve>CVE-2016-6325</cve>\r\n    </suppress>\r\n    <suppress>\r\n        <notes/>\r\n        <cpe regex=\"true\">/a:apache_tomcat:apache_tomcat:.*</cpe>\r\n        <cve>CVE-2016-5425</cve>\r\n    </suppress>\r\n    <suppress>\r\n        <notes/>\r\n        <cpe regex=\"true\">/a:logback:logback</cpe>\r\n        <cve>CVE-2017-5929</cve>\r\n    </suppress>\r\n\r\nIs it possible that the plugin intermittently fails to collect GAVC coordinates from JARs, and then GAVC checks fail?"},"comment":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/comments/425280166","html_url":"https://github.com/jeremylong/DependencyCheck/issues/785#issuecomment-425280166","issue_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/785","id":425280166,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI4MDE2Ng==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-28T00:08:04Z","updated_at":"2018-09-28T00:08:04Z","author_association":"NONE","body":"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.\n"}}
{"actor":{"display_login":"lock"}}