Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Outdated libraries with latest scanner? #13

Open
markdesilva opened this issue Nov 14, 2021 · 4 comments
Open

[Bug] Outdated libraries with latest scanner? #13

markdesilva opened this issue Nov 14, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@markdesilva
Copy link

**** Before you open a bug issue, please read the documentation. If you do not find an answer to your problem there, please look in the issues that have already been closed. Only if you still have not found an answer to your problem should you open a new issue. ****
** https://securecompliance.gitbook.io/projects/openvas-greenbone-deployment-full-guide **

Describe the bug
Keep getting this in the scans even though I have pulled latest v21.4.2-v1 (latest):

Installed GVM Libraries (gvm-libs) version: 21.4.2
Latest available GVM Libraries (gvm-libs) version: 21.4.3
Reference URL(s) for the latest available version: https://community.greenbone.net/t/gvm-21-04-stable-initial-release-2021-04-16/8942

To Reproduce
Steps to reproduce the behavior:

  1. Start scan and wait for it to finish
  2. Check reports

Expected behavior
No outdated scan warning

Screenshots
If applicable, add screenshots to help explain your problem.

Host Device:

  • OS: ubuntu
  • Version: 20.04.3

Image in use:

  • Self build? No
  • Output from docker image inspect <image> :
# docker image inspect <image> 
[
    {
        "Id": "7fc5f0eec418ba1c92e7ac0e85055a4decc5f52d099f3943a56ce1528fed7426",
        "Created": "2021-11-14T15:50:11.91352155Z",
        "Path": "/entrypoint.sh",
        "Args": [
            "/usr/bin/supervisord",
            "-n",
            "-c",
            "/etc/supervisord.conf"
        ],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 328313,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2021-11-14T15:56:02.161698899Z",
            "FinishedAt": "2021-11-14T15:56:01.718600022Z"
        },
        "Image": "sha256:abca2f3c23f33aef395e122d350c96572ad85919ee013d0d9c4096b8b10e8504",
        "ResolvConfPath": "/var/lib/docker/containers/7fc5f0eec418ba1c92e7ac0e85055a4decc5f52d099f3943a56ce1528fed7426/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/7fc5f0eec418ba1c92e7ac0e85055a4decc5f52d099f3943a56ce1528fed7426/hostname",
        "HostsPath": "/var/lib/docker/containers/7fc5f0eec418ba1c92e7ac0e85055a4decc5f52d099f3943a56ce1528fed7426/hosts",
        "LogPath": "/var/lib/docker/containers/7fc5f0eec418ba1c92e7ac0e85055a4decc5f52d099f3943a56ce1528fed7426/7fc5f0eec418ba1c92e7ac0e85055a4decc5f52d099f3943a56ce1528fed7426-json.log",
        "Name": "/scanner",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/root/storage/openvas-plugins:/var/lib/openvas/plugins"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "host",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/43ea511028d3b6252ea22ad84186ddefa35618598b82f16a09e6ca2ae2dba6f3-init/diff:/var/lib/docker/overlay2/7f51246a194901f5af1916c26b28f2eda79cc2689ee73e0df54f55194829aefb/diff:/var/lib/docker/overlay2/f180d6f7a914b32f68f44a9a3e75e63718dd7bd1861e5161d13ba23a991d4499/diff:/var/lib/docker/overlay2/a16562ba033f53be93c3937c0d8d2af4d50babeb3350db66b80973edba77349f/diff:/var/lib/docker/overlay2/91d32276bd981b1143887e1b11ac920f99ec27b0c02b0741e42dd7fafb105f5e/diff:/var/lib/docker/overlay2/f7ff5901db096c8cb8a0884f937f3e37c964ca5f28d231e1334788ba68529f5b/diff:/var/lib/docker/overlay2/652a6769ed353f18c35d62acbee3bb7f9caadeaa88ffc0981c5bb5c36da96252/diff:/var/lib/docker/overlay2/f09fd3d8f5620235d17ecc58b76851fd8e131c579418a4a6161f6c7f1ffa1cbc/diff:/var/lib/docker/overlay2/ac92e81eb1f5ab148725c5a9cb2d6746e6572143a36d21630da13fa85d766330/diff:/var/lib/docker/overlay2/5ad14d3fafcfeabaf529dd4fcbd9d68b4da6241ccf29b5561791fc8f304f92a0/diff:/var/lib/docker/overlay2/01aea369860a1100f88dd7cd1db980ee5915e5a62199f059b7b89761b5cfa741/diff",
                "MergedDir": "/var/lib/docker/overlay2/43ea511028d3b6252ea22ad84186ddefa35618598b82f16a09e6ca2ae2dba6f3/merged",
                "UpperDir": "/var/lib/docker/overlay2/43ea511028d3b6252ea22ad84186ddefa35618598b82f16a09e6ca2ae2dba6f3/diff",
                "WorkDir": "/var/lib/docker/overlay2/43ea511028d3b6252ea22ad84186ddefa35618598b82f16a09e6ca2ae2dba6f3/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/root/storage/openvas-plugins",
                "Destination": "/var/lib/openvas/plugins",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "bcc8423701c58b4fd43c3bdedfacabb11c7e16d1b60c774b6003520ddfcfabf6",
                "Source": "/var/lib/docker/volumes/bcc8423701c58b4fd43c3bdedfacabb11c7e16d1b60c774b6003520ddfcfabf6/_data",
                "Destination": "/var/lib/gvm",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "7fc5f0eec418",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "MASTER_ADDRESS=xxx.xxx.xxx.xxx",
                "MASTER_PORT=2222",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "SUPVISD=supervisorctl",
                "DEBUG=N",
                "AUTOSSH_DEBUG=0",
                "TZ=UTC",
                "SETUP=0"
            ],
            "Cmd": [
                "/usr/bin/supervisord",
                "-n",
                "-c",
                "/etc/supervisord.conf"
            ],
            "Image": "securecompliance/openvas:latest",
            "Volumes": {
                "/var/lib/gvm": {},
                "/var/lib/openvas/plugins": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "/entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "org.opencontainers.image.created": "2021-08-09T20:27:03.241Z",
                "org.opencontainers.image.description": "A Docker Image For the Open Vulnerability Assessment Scanner (OpenVAS)",
                "org.opencontainers.image.licenses": "MIT",
                "org.opencontainers.image.revision": "3e43555d89ce0cc19f2a3d2cb97ef0be94fbd546",
                "org.opencontainers.image.source": "https://github.com/Secure-Compliance-Solutions-LLC/OpenVAS-Docker",
                "org.opencontainers.image.title": "OpenVAS-Docker",
                "org.opencontainers.image.url": "https://github.com/Secure-Compliance-Solutions-LLC/OpenVAS-Docker",
                "org.opencontainers.image.version": "21.4.2-v1"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "b7a1212ce262095374dc3a7f294af6871f4df357a13113e972001f2d766b3499",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/b7a1212ce262",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "26cee78c103576dae79a733aa98e95c6a14b09411637fb3e503fc1ccdac1f42b",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.2",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:02",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "3a9060a916b4b14429a7fd69790312af47a7eedc8a3d41afd1e89c5c5fc078d1",
                    "EndpointID": "26cee78c103576dae79a733aa98e95c6a14b09411637fb3e503fc1ccdac1f42b",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:02",
                    "DriverOpts": null
                }
            }
        }
    }
]


**Additional context**
Add any other context about the problem here.
@markdesilva markdesilva added the bug Something isn't working label Nov 14, 2021
@markdesilva markdesilva changed the title [Bug] [Bug] Outdated libraries with latest scanner? Nov 14, 2021
@Dexus
Copy link
Collaborator

Dexus commented Mar 24, 2022

For further support, use https://github.com/DeineAgenturUG/greenbone-gvm-openvas-for-docker

@markdesilva
Copy link
Author

For further support, use https://github.com/DeineAgenturUG/greenbone-gvm-openvas-for-docker

Ah I've been waiting for this! Thank you!

@markdesilva
Copy link
Author

Quick question as the documentation isn't up yet, is the procedure for linking the scanners the same as before?

@Dexus
Copy link
Collaborator

Dexus commented Mar 24, 2022

Quick question as the documentation isn't up yet, is the procedure for linking the scanners the same as before?

yes, I did not change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants