Update your OpenSSL on FreeBSD 10.x/11.x to fix vulnerabilities

F reeBSD includes software from the OpenSSL Project for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. OpenSSL has multiple vulnerabilities on a FreeBSD. Currently, no workaround is available. You need to update OpenSSL on FreeBSD version 10.x and 11.x.

Problem description

From the OpenSSL page :

Invoking SSL_read()/SSL_write() while in an error state causes data to be

passed without being decrypted/encrypted directly from the SSL/TLS record


In order to exploit this issue an application bug would have to be present

that resulted in a call to SSL_read()/SSL_write() being issued after having

already received a fatal error. [CVE-2017-3737]

There is an overflow bug in the x86_64 Montgomery multiplication procedure

used in exponentiation with 1024-bit moduli. This only affects processors

that support the AVX2 but not ADX extensions like Intel Haswell (4th

generation). [CVE-2017-3738] This bug only affects FreeBSD 11.x.

Impact is as follows:

Applications with incorrect error handling may inappropriately pass

unencrypted data. [CVE-2017-3737]

Mishandling of carry propagation will produce incorrect output, and make it

easier for a remote attacker to obtain sensitive private-key information. No

EC algorithms are affected and analysis suggests that attacks against RSA and

DSA as a result of this defect would be very difficult to perform and are not

believed likely.

Attacks against DH1024 are considered just feasible (although very difficult)

because most of the work necessary to deduce information about a private key

may be performed offline. The amount of resources required for such an

attack would be very significant and likely only accessible to a limited

number of attackers. However, for an attack on TLS to be meaningful, the

server would have to share the DH1024 private key among multiple clients,

which is no longer an option since CVE-2016-0701. [CVE-2017-3738]

How do I fix this problem on a FreeBSD 10.x/11.x?

Simply run the following two commands and reboot the server. First, find out your current version and patch level of FreeBSD :

$ freebsd-version

Sample outputs:


Use the freebsd-update command fetch and install OpenSSL updates to the FreeBSD base system:

# freebsd-update fetch
 # freebsd-update install

Sample outputs:

Fig.01: Updating FreeBSD to fix OpenSSL bugs

Reboot the FreeBSD server/box:

# reboot

After reboot, make sure you got updated version:

% freebsd-version

Sample outputs:


You can update all FreeBSD packages using the pkg command

# pkg update && pkg upgrade

For more info see this page .

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter , Facebook , Google+ .

nixCraft责编内容来自:nixCraft (源链) | 更多关于

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 综合技术 » Update your OpenSSL on FreeBSD 10.x/11.x to fix vulnerabilities

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录