Ubuntu openssl security issues

after installing nextcloud on ubuntu16 i have the security issues found below that i cannot get resolved.

How to fix this?

Script: OpenSSL: OCSP Status Request Extension Denial of Service Vulnerability
Solution: Upgrade to version 1.1.0h, 1.0.2o or later of OpenSSL.

Script: OpenSSL: ASN.1 BIO Implementation Denial of Service Vulnerability
Solution: Upgrade to version 1.1.0h, 1.0.2o or later of OpenSSL.

Script: OpenSSL: Integer Overflow Denial of Service Vulnerability
Solution: Upgrade to version 1.1.0h, 1.0.2o or later of OpenSSL.

Script: OpenSSL: MDC2_Update Function Integer Overflow Out of Bounds Write Vulnerability
Solution: Upgrade to version 1.1.0h, 1.0.2o or later of OpenSSL.

Script: OpenSSL: BN_bn2dec Function Out of Bounds Write Vulnerability
Solution: Upgrade to version 1.1.0h, 1.0.2o or later of OpenSSL.

Ubuntu does not have OpenSSL 1.1.0h installed by default yet.
So just install/update OpenSSL 1.1.0h on Ubuntu as simple as that.

as root do: ( this will install the tools you need to install the new version, some of this tools may already be install )

cd /usr/local/src
apt install gcc make 

Download and extract openssl:

   wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
   tar xzvf openssl-1.1.0h.tar.gz 

`

Configure openssl
cd openssl-1.1.0h
./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'

compile openssl and install openssl

make
make install

Reboot your server.
shutdown -r now

and verify your openssl version:
openssl version

You should get:
openssl version
OpenSSL 1.1.0h 27 March 2018

This should fix it.