Spectre and Meltdown Difference


Understanding Spectre and Meltdown Differences

The year 2018 started with a bombshell news for IT security industry. The industry learned that a series of vulnerabilities named Spectre and Meltdown is going to affect all high-end microprocessors produced in the last 20 years. The vulnerabilities were discovered by researchers almost six months ago. Security threats are nothing new for the IT industry. However, the scope of these new threats is astounding. From the personal computer to the enterprise-level clouds, every high-end microprocessor is at risk. And the problems are hardware-related, so they are more difficult to fix.

The Cause of Spectre and Meltdown

Malicious programs can exploit Spectre and Meltdown to gain access to privileged data. They gain this access by taking advantage of speculative execution and caching. Here are the concepts that are in play:

  • Speculative Execution: When a program executes on a microprocessor, it has to often wait to get the information from RAM memory. However, compared to execution time on the microprocessor, the fetch time from memory is long. So in order to speed up the process, when a microprocessor faces a situation where it needs information from memory to make a decision about the next calculation, it speculatively calculates the result that it thinks will be necessary. When the information from memory arrives, if the microprocessor has speculated the right branch, then it has the result ready. This speeds up the process. In case of a wrong speculation, the microprocessor just ignores the result.
  • Caching: To further speed up execution, microprocessors use caching. Because going to the RAM memory is slower, microprocessors fetch information and keep it in the cache. The cache is also where the results of speculative execution are stored.
  • Protected Memory: The concept of protected memory is used to make sure there is segregation of data on the microprocessor. In a protected memory environment, a process cannot see data from another process without granted privilege.

The Spectre and Meltdown vulnerabilities are exposed due to the complex interaction of these ideas. Processes aren’t able to access information of other processes without permission in protected memory. But due to the way modern microprocessor caches are designed, it’s possible for a process to read the information stored in the cache by the speculative execution tasks without any permission approval. A more detailed description of the vulnerabilities is available from the Project Zero team from Google.

Spectre and Meltdown Differences

The issues have been documented as three variants:

The variants 1 and 2 are grouped together as Spectre. The variant 3 is called Meltdown. Here are key points about the threats:


Threat: Exploiting information from other running processes.

Processors Affected: Processors from Intel, AMD and ARM are under threat.

Remedy: Manufacturers and software vendors are working on updates. Spectre is considered a harder threat to solve than Meltdown. The most likely use of Spectre would be using JavaScript to access data about browser sessions keys, passwords etc. Users should regularly update their Internet Explorer, Firefox, Chrome and Safari browsers besides other online applications.


Threat: Reading data from private kernel memory without permission.

Processors Affected: Processors from Intel and ARM. AMD processors are not affected.

Remedy: Patches has been released for Windows and Linux. MacOS has been patched since 10.13.2 and iOS since 11.2. According to Intel, OS updates should be enough to mitigate the risk, no need for firmware updates.

Looking Ahead

Spectre and Meltdown are long-term problems. Nobody is sure if the vulnerabilities have already been exploited. It’s important that you keep all of your OS and software up-to-date to minimize the risk of exposure.

Further Reading:

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Coverity Scan Service Hacked!

The Register is reporting that the Coverity community server used by open source projects was hacked and being used for...

Linux Permissions Explained

The Operating System (OS) Linux was developed to be multitasking and multiuser. A multitask OS allows us to run different...

Driftnet on Debian: Sniffing images within a network

In this tutorial we’ll sniff a network to intercept graphical content from the devices’ traffic.We’ll learn how to...
Bài Viết

Bài Viết Mới Cập Nhật

Mua Proxy V6 Nuôi Facebook Spam Hiệu Quả Tại Onetcomvn

Hướng dẫn cách sử dụng ProxyDroid để duyệt web ẩn danh

Mua proxy Onet uy tín tại Onet.com.vn

Thuê mua IPv4 giá rẻ, tốc độ nhanh, uy tín #1

Thuê địa chỉ IPv4 IPv6 trọn gói ở đâu chất lượng, giá RẺ nhất?