dependency_scanning
Passed Started
by
@jivanvl
Jose Ivan Vargas Lopez
This job is archived. Only the complete pipeline can be retried.
1Running with gitlab-runner 12.9.0 (4c96e5ad)2 on docker-auto-scale fa6cab464Using Docker executor with image docker:stable ...5Starting service docker:stable-dind ...6Pulling docker image docker:stable-dind ...7Using docker image sha256:a6e51fd179fb849f4ec6faee318101d32830103f5615215716bd686c56afaea1 for docker:stable-dind ...8Waiting for services to be up and running...9*** WARNING: Service runner-fa6cab46-project-4422333-concurrent-0-docker-0 probably didn't start properly.10Health check error:11service "runner-fa6cab46-project-4422333-concurrent-0-docker-0-wait-for-service" timeout12Health check container logs:13Service container logs:142020-04-06T18:29:16.425130514Z time="2020-04-06T18:29:16.420185646Z" level=info msg="Starting up"152020-04-06T18:29:16.425182351Z time="2020-04-06T18:29:16.423400304Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"162020-04-06T18:29:16.425187199Z time="2020-04-06T18:29:16.423604055Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"172020-04-06T18:29:16.425190685Z time="2020-04-06T18:29:16.424454924Z" level=info msg="libcontainerd: started new containerd process" pid=18182020-04-06T18:29:16.425194140Z time="2020-04-06T18:29:16.424491393Z" level=info msg="parsed scheme: \"unix\"" module=grpc192020-04-06T18:29:16.425197668Z time="2020-04-06T18:29:16.424499100Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc202020-04-06T18:29:16.425201289Z time="2020-04-06T18:29:16.424517068Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc212020-04-06T18:29:16.425207710Z time="2020-04-06T18:29:16.424525810Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc222020-04-06T18:29:16.514025716Z time="2020-04-06T18:29:16.477450222Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 232020-04-06T18:29:16.514054751Z time="2020-04-06T18:29:16.477779175Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 242020-04-06T18:29:16.514059686Z time="2020-04-06T18:29:16.477856488Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 252020-04-06T18:29:16.514064266Z time="2020-04-06T18:29:16.478039833Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" 262020-04-06T18:29:16.514069505Z time="2020-04-06T18:29:16.478051049Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 272020-04-06T18:29:16.514073313Z time="2020-04-06T18:29:16.485140653Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "ip: can't find device 'aufs'\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1" 282020-04-06T18:29:16.514077420Z time="2020-04-06T18:29:16.485167716Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 292020-04-06T18:29:16.514081208Z time="2020-04-06T18:29:16.485262699Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 302020-04-06T18:29:16.514084487Z time="2020-04-06T18:29:16.485395249Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-04-06T18:29:16.514087823Z time="2020-04-06T18:29:16.485587187Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 322020-04-06T18:29:16.514091153Z time="2020-04-06T18:29:16.485595431Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 332020-04-06T18:29:16.514102899Z time="2020-04-06T18:29:16.485642294Z" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" 342020-04-06T18:29:16.514106895Z time="2020-04-06T18:29:16.485648998Z" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "ip: can't find device 'aufs'\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1" 352020-04-06T18:29:16.514110693Z time="2020-04-06T18:29:16.485656076Z" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" 362020-04-06T18:29:16.514114285Z time="2020-04-06T18:29:16.492736282Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 372020-04-06T18:29:16.514117683Z time="2020-04-06T18:29:16.492758886Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 382020-04-06T18:29:16.514120864Z time="2020-04-06T18:29:16.492785062Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 392020-04-06T18:29:16.514124126Z time="2020-04-06T18:29:16.492796605Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 402020-04-06T18:29:16.514127354Z time="2020-04-06T18:29:16.492807088Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 412020-04-06T18:29:16.514130642Z time="2020-04-06T18:29:16.492818215Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 422020-04-06T18:29:16.514133879Z time="2020-04-06T18:29:16.492829706Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 432020-04-06T18:29:16.514137160Z time="2020-04-06T18:29:16.492840228Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 442020-04-06T18:29:16.514140386Z time="2020-04-06T18:29:16.492849646Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 452020-04-06T18:29:16.514143669Z time="2020-04-06T18:29:16.492860588Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 462020-04-06T18:29:16.514147239Z time="2020-04-06T18:29:16.493021970Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 472020-04-06T18:29:16.514151500Z time="2020-04-06T18:29:16.493120942Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 482020-04-06T18:29:16.514154757Z time="2020-04-06T18:29:16.493423203Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 492020-04-06T18:29:16.514158019Z time="2020-04-06T18:29:16.493448008Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 502020-04-06T18:29:16.514164058Z time="2020-04-06T18:29:16.493484413Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 512020-04-06T18:29:16.514167341Z time="2020-04-06T18:29:16.493496451Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 522020-04-06T18:29:16.514170489Z time="2020-04-06T18:29:16.493506546Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 532020-04-06T18:29:16.514173623Z time="2020-04-06T18:29:16.493515342Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 542020-04-06T18:29:16.514176760Z time="2020-04-06T18:29:16.493525132Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 552020-04-06T18:29:16.514179975Z time="2020-04-06T18:29:16.493535321Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 562020-04-06T18:29:16.514183097Z time="2020-04-06T18:29:16.493554071Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 572020-04-06T18:29:16.514186209Z time="2020-04-06T18:29:16.493563371Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 582020-04-06T18:29:16.514189361Z time="2020-04-06T18:29:16.493572620Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 592020-04-06T18:29:16.514192550Z time="2020-04-06T18:29:16.493816426Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 602020-04-06T18:29:16.514195692Z time="2020-04-06T18:29:16.493831083Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 612020-04-06T18:29:16.514199147Z time="2020-04-06T18:29:16.493841216Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 622020-04-06T18:29:16.514202428Z time="2020-04-06T18:29:16.493850315Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 632020-04-06T18:29:16.514205710Z time="2020-04-06T18:29:16.494036886Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 642020-04-06T18:29:16.514208923Z time="2020-04-06T18:29:16.494095146Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 652020-04-06T18:29:16.514212074Z time="2020-04-06T18:29:16.494103794Z" level=info msg="containerd successfully booted in 0.017214s" 662020-04-06T18:29:16.531742737Z time="2020-04-06T18:29:16.516308496Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"672020-04-06T18:29:16.531758286Z time="2020-04-06T18:29:16.516497203Z" level=info msg="parsed scheme: \"unix\"" module=grpc682020-04-06T18:29:16.531762577Z time="2020-04-06T18:29:16.516508806Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc692020-04-06T18:29:16.531766320Z time="2020-04-06T18:29:16.516524727Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc702020-04-06T18:29:16.531779129Z time="2020-04-06T18:29:16.516533659Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc712020-04-06T18:29:16.531789638Z time="2020-04-06T18:29:16.519910145Z" level=info msg="parsed scheme: \"unix\"" module=grpc722020-04-06T18:29:16.531793313Z time="2020-04-06T18:29:16.519937185Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc732020-04-06T18:29:16.531796680Z time="2020-04-06T18:29:16.519960726Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc742020-04-06T18:29:16.531800324Z time="2020-04-06T18:29:16.520325812Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc752020-04-06T18:29:16.592538243Z time="2020-04-06T18:29:16.591053243Z" level=info msg="Loading containers: start."762020-04-06T18:29:16.616930799Z time="2020-04-06T18:29:16.616784624Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nbridge 167936 1 br_netfilter\nstp 16384 1 bridge\nllc 16384 2 bridge,stp\nip: can't find device 'br_netfilter'\nbr_netfilter 24576 0 \nbridge 167936 1 br_netfilter\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"772020-04-06T18:29:16.710799179Z time="2020-04-06T18:29:16.708367423Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"782020-04-06T18:29:16.788801360Z time="2020-04-06T18:29:16.787917457Z" level=info msg="Loading containers: done."792020-04-06T18:29:16.805121215Z time="2020-04-06T18:29:16.804780457Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8802020-04-06T18:29:16.805140396Z time="2020-04-06T18:29:16.804911446Z" level=info msg="Daemon has completed initialization"812020-04-06T18:29:16.855791253Z time="2020-04-06T18:29:16.851218937Z" level=info msg="API listen on [::]:2375"822020-04-06T18:29:16.855868980Z time="2020-04-06T18:29:16.851297778Z" level=info msg="API listen on /var/run/docker.sock"83*********84Pulling docker image docker:stable ...85Using docker image sha256:61b2e482e9de9ca3939dce4c90810c89fa7e7450f774590967c2908cba857ddd for docker:stable ...87Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1586197687-353ef91f...89$ eval "$CI_PRE_CLONE_SCRIPT"90Fetching changes with git depth set to 50...91Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/92Created fresh repository.94 * [new ref] refs/pipelines/12741992 -> refs/pipelines/1274199295 * [new branch] master -> origin/master96Checking out 4ddfcf04 as master...97Skipping Git submodules setup101$ export DS_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}102$ if ! docker info &>/dev/null; then # collapsed multi-line command103$ function propagate_env_vars() { # collapsed multi-line command104$ docker run \ # collapsed multi-line command105Unable to find image 'registry.gitlab.com/gitlab-org/security-products/dependency-scanning:12-10-stable' locally10612-10-stable: Pulling from gitlab-org/security-products/dependency-scanning107ce82f9486b57: Pulling fs layer108ce82f9486b57: Verifying Checksum109ce82f9486b57: Download complete110ce82f9486b57: Pull complete111Digest: sha256:29914ecaaa6a0387b7d0a679a6f5ee1cbe28211c3279cbdfaef6e1ace4b41516112Status: Downloaded newer image for registry.gitlab.com/gitlab-org/security-products/dependency-scanning:12-10-stable1132020/04/06 18:29:55 Copy project directory to containers1142020/04/06 18:29:55 [bundler-audit] Detect project using plugin1152020/04/06 18:29:55 [bundler-audit] Project not compatible1162020/04/06 18:29:55 [retire.js] Detect project using plugin1172020/04/06 18:29:55 [retire.js] Project is compatible1182020/04/06 18:29:55 [retire.js] Downloading analyzer...119............................................................1202020/04/06 18:30:06 [retire.js] Starting analyzer...121Found project in /tmp/app122Using python 3123Installing dependencies...124added 159 packages from 617 contributors and audited 303 packages in 5.767s125found 9 vulnerabilities (2 low, 1 moderate, 6 high)126 run `npm audit fix` to fix them, or `npm audit` for details1272020/04/06 18:30:20 [gemnasium] Detect project using plugin1282020/04/06 18:30:20 [gemnasium] Project is compatible1292020/04/06 18:30:20 [gemnasium] Downloading analyzer...130.......................1312020/04/06 18:30:26 [gemnasium] Starting analyzer...132Found project in /tmp/app133Fetching origin135 bdc68c0e..18821a5c master -> origin/master136 * [new branch] julian-gem-2018 -> origin/julian-gem-2018137 * [new branch] julian-npm-2018 -> origin/julian-npm-2018138Already on 'master'139Your branch is behind 'origin/master' by 93 commits, and can be fast-forwarded.140 (use "git pull" to update your local branch)1412020/04/06 18:30:30 Cannot auto-remediate dependency file, not supported: package-lock.json1422020/04/06 18:30:30 [gemnasium-maven] Detect project using plugin1432020/04/06 18:30:30 [gemnasium-maven] Project not compatible1442020/04/06 18:30:30 [gemnasium-python] Detect project using plugin1452020/04/06 18:30:30 [gemnasium-python] Project not compatible146+----------------------------------------------------------------------------------------+147| Severity | Tool | Identifier |148+----------------------------------------------------------------------------------------+149| Medium | Retire.js | |150| |151| Code Injection in morgan |152| In package.json |153+----------------------------------------------------------------------------------------+154| Low | Retire.js | |155| |156| Prototype pollution attack in lodash |157| In package.json |158+----------------------------------------------------------------------------------------+159| Unknown | Gemnasium | CVE-2019-1010266 |160| |161| Uncontrolled Resource Consumption in lodash |162| Solution: Upgrade to version 4.17.11 or above. |163| In package-lock.json |164+----------------------------------------------------------------------------------------+165| Unknown | Gemnasium | CVE-2019-10744 |166| |167| Improper Input Validation in lodash |168| Solution: Upgrade to version 4.17.12 or above. |169| In package-lock.json |170+----------------------------------------------------------------------------------------+171| Unknown | Gemnasium | CVE-2018-16487 |172| |173| Uncontrolled Resource Consumption in lodash |174| Solution: Upgrade to version 4.17.11 or above. |175| In package-lock.json |176+----------------------------------------------------------------------------------------+177| Unknown | Gemnasium | CVE-2020-7598 |178| |179| Improper Input Validation in minimist |180| Solution: Upgrade to version 1.2.2 or above. |181| In package-lock.json |182+----------------------------------------------------------------------------------------+183| Unknown | Gemnasium | CVE-2019-5413 |184| |185| Command Injection in morgan |186| Solution: Upgrade to version 1.9.1 or above. |187| In package-lock.json |188+----------------------------------------------------------------------------------------+192Uploading artifacts...193gl-dependency-scanning-report.json: found 1 matching files 194Uploading artifacts to coordinator... ok id=37141754 responseStatus=201 Created token=vRNyqRMR195Job succeeded