Skip to main content

How to update Ubuntu to plug the Heartbleed OpenSSL flaw

how to update ubuntu plug heartbleed openssl flaw
Image used with permission by copyright holder

The Heartbleed OpenSSL bug is unlike virtually any Internet security threat you’ve probably ever heard of. It’s not a virus that’s specific to one operating system or type of device. Since it revolves around a flaw in the method of encryption used by many of the world’s websites, it affects almost everyone who uses the Internet, including people who operate servers that run Ubuntu Linux, the free, open-source operating system.

MORE: Which websites are affected by the Heartbleed OpenSSL encryption bug?

Recommended Videos

Fortunately, with the help of a few commands, you can check whether the version of Ubuntu you’re using is vulnerable to the Heartbleed bug, and also update Ubuntu to ensure that the vulnerability is sealed and patched. It’s important to note that multiple versions of Ubuntu are affected, including Ubuntu 12.04 LTS, Ubuntu 12.10, and Ubuntu 13.10, so it’s imperative that you ensure that the version you run is safe — or update to one that is. Here’s how, according to ansoncheunghk.info.

  1. First, run this command: # sudo openssl version -a. What’s important here is the line that starts with “built on,” which gives you a date for the version of Ubuntu you’re running on your server. If you’re using a version dated before April 7, it is vulnerable to the Heartbleed bug. If it’s dated on or after April 7, you’re in the clear. Here’s what to do if you aren’t, like the the version pictured below, which is dated June 4, 2013.
ubuntu command 1
Image used with permission by copyright holder

           2. Run this command: # sudo apt-get dist-upgrade. This will patch your version of Ubuntu with the latest security update.

ubuntu command 2
Image used with permission by copyright holder

              3. Then restart your Ubuntu server using this command: # sudo reboot. Once reboot is complete, use the same command you used in Step 1 to verify that your Ubuntu install is dated for April 7 or later by checking the line that begins with “built on.”

ubuntu command 3
Image used with permission by copyright holder

Do you have any other tips for how to make Ubuntu safe from the Heartbleed bug? If so, please share them in the comments below.

MORE: How to check if a website is vulnerable to the Heartbleed bug

Image credit: http://www.themebin.com

Body image credits: http://www.ansoncheunghk.info

Konrad Krawczyk
Former Digital Trends Contributor
Konrad covers desktops, laptops, tablets, sports tech and subjects in between for Digital Trends. Prior to joining DT, he…
Tax software deals: Save on TurboTax and H&R Block
hr block tax software deal best buy flash sale

Update 1/13/25: We've updated this article for the 2024/2025 tax year. Below, we'll help you find the best discount for your personal tax needs.

Like it or not, it is time to look at the best tax software again. If you're proactive, though, you can get a good deal and find tax software at a bargain price. Here, we look at the best tax software deals in 2025. Remember that these are deals for the 2024 tax year, even though you'll be buying them in 2025. The following tax software all have discounts; we'll lay out the discount for you as well as give a brief overview of what that software does. Also, note that most of the highlighted deals are for a combination of federal and state taxes, but it should be very simple for you to change to a federal-only version of the software on the checkout page.
Tax Act All-Inclusive Bundle — $138 $230 40% off

Read more
Nvidia’s RTX 50-series might give us a repeat of the GPU shortage
Nvidia's RTX 5090 sitting at CES 2025.

Nvidia's RTX 5090 and RTX 5080 are set to release later this month, and there's no doubt that they'll end up being some of the best graphics cards of the year. Unfortunately, it also seems that they might be hard to come by, as many sources expect that the RTX 50-series will have very limited availability to start with.  If this checks out, we might see a similar situation to the GPU shortage we endured during the launch of the RTX 30-series.

VideoCardz compiled a number of leaks that all add up to the same thing: Nvidia and its partners may not be able to supply many next-gen GPUs in time for the launch date. This wouldn't necessarily mean that the official January 30 release date would get pushed -- that's pretty unlikely at this point. Instead, the GPUs might be up for sale, but limited in number, and they won't be restocked for some time.

Read more
Nvidia says melting power connectors are a thing of the past
The graphics card connectors on a power supply. The connectors are burned and melted from where an Nvidia 12VHPWR cable from an RTX 4090 graphics card has been plugged in and overheated.

Nvidia has expressed confidence that the infamous melting issues with the 12VHPWR power connectors, which plagued some RTX 40-series GPUs, will not recur with its next-generation RTX 50-series lineup.

As reported by QuasarZone, during the Nvidia RTX AI Day 2025 event in South Korea, Nvidia representatives assured attendees that the overheating and melting issues experienced with the RTX 4090's 12VHPWR connector have been resolved in the RTX 50 series. “We don’t expect that to happen with the RTX 50 series. We made some changes to the connector to respond to the issue at the time, and we know that it is not happening now, about two years later,” said an Nvidia representative.

Read more