how do you downgrade ?
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
dpkg -s openssl | grep Version
Version: 1.0.1f-1ubuntu2.8
You need to search for the version you need, download if for your architecture, and install it manually.
For example, in this case you search for 1.0.1f-1ubuntu2.7. You can find it here:
https://launchpad.net/ubuntu/+source/openssl/1.0.1f-1ubuntu2.7Select your architecture and download the .deb package of openssl and libssl (and the -dev packages if you need them). Then install them using dbpg.
Assuming that you're on 64bit:
wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/6463840/+files/openssl_1.0.1f-1ubuntu2.7_amd64.deb
wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/6463840/+files/libssl1.0.0_1.0.1f-1ubuntu2.7_amd64.deb
dpkg -i openssl_1.0.1f-1ubuntu2.7_amd64.deb
dpkg -i libssl1.0.0_1.0.1f-1ubuntu2.7_amd64.deb
That's it
