Bonum Certa Men Certa

The Notorious, Catastrophic 2008 Debian OpenSSH Vulnerability

posted by Roy Schestowitz on Jun 08, 2024,
updated Jun 08, 2024

Debian logo

Debian OpenSSH Vulnerability, Jasone Blevins. (2008)

In May 2008, a bug was discovered in the Debian OpenSSL package which affected the seeding of the random number generator (RNG) used to generate keys. Any SSH keys generated by affected systems should be considered compromised. GnuPG keys are not affected. See the official Debian security advisory for details.

This does not mean that an attacker could immediately guess your private key, but because there was significantly less entropy being introduced into the seeding of the RNG, the key space was significantly reduced making a brute-force attack feasible. As I understand it, the primary source of entropy for seeding the RNG was originally uninitialized memory from the heap. Additional, more predictable components like the current process ID (an integer between 1 and 32,768) were also used. Due to an erroneous patch introduced in September 2006, uninitialized memory was no longer used in seeding the RNG leaving the process ID as the primary source of randomness. Thus, generated keys can be predicted to the extent that one knows how soon after boot time a key was generated. For example, SSH host keys are usually generated immediately after installation and so they are likely to have been generated by a processes with IDs, say, less than 500.

If it were not for this ever so small bit of “randomness,” this bug would likely have been discovered much sooner, before the patch made it to stable distributions, as someone would have noticed that all their SSH keys were the same. Unfortunately, as they say, bad cryptography looks the same as good cryptography.

Once the bug was discovered, Debian security updates were released that blacklisted the vulnerable keys, causing the system to fall back to a password-based login. If you have an affected key and try to log into an updated system, you may see a message like the following:

Public key 81:e6:75:64:17:5f:e2:ff:12:c3:ac:85:43:1e:6a:3c blacklisted (see ssh-vulnkey(1)); refusing to send it 

Thus as long as your system is up to date, you can sleep well knowing that it won’t be compromised and update your key at your leisure. However, if you have been used to using ssh-agent and key-based authentication, typing your password over and over will soon become burdensome and you’ll want to generate a new key.

The remainder of this article discusses how to check your key and generate a new one if necessary. If you would like to read more about the situation, Russ Cox wrote a very nice article which provides some technical background and documents the decisions leading up to the offending patch. █

Read on...

Other Recent Techrights' Posts

Slop is "just a hobby, won't be big and professional like GNU."
What Torvalds says about "hey hi" ("AI") does not prove he is in charge
 
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, October 18, 2026
IRC logs for Sunday, October 18, 2026
Gemini Links 18/10/2026: Hobbies, RAM Prices, and Avoiding GAFAM
Links for the day
Intercontinental Brigading - Part VII - Weekend Abuse Reported to British Police (Rogue Actors Take No Breaks)
Some time in the next few days I'll share an elaborate report
Gemini Links 18/10/2026: Hospitals, Literature, Fixed IP Addresses, and Sunday Types
Links for the day
Links 18/10/2026: Brazil Reduces Deforestation, Some 4-5 Gray's Inn Square Scandals in Insolvency Petition of Reform UK
Links for the day
UbuntuBuzz is LLM Slop
Tragic
"Assisted by NSA" and "It's Just a Tool" (So Fine!)
Free software is meant to be produced by people who value and pursue Software Freedom
Gemini Links 18/10/2026: Movies, Greenland, and Detectors of Slop Plagiarism
Links for the day
Links 18/10/2026: TikTok Censors Criticism of MElon, "Trump’s Latest Attempt to Be the King", and "Big Tech Oligarchs Have a Terrible Plan for Humanity"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, October 17, 2026
IRC logs for Saturday, October 17, 2026
Gemini Links 17/10/2026: Big Glowing Advertising Screens, Busy October, and Art
Links for the day
The First Casualty: The Reputation of Linux Developers (and of Linux)
The last thing you can take from a person is pride
Links 17/10/2026: Europe Divorcing US President Putin (Kompromat), MElon and Kapo-berg ("Meta") Buying US Elections Again
Links for the day
GAFAM LLMs Seem to be Causing Veteran, Experienced Linux Developers to Quit, Only to be Replaced With GAFAM Bots and Unaudited Slopfest 'Code'
Better than 'pulling a SCO'?
30 Years of KDE and "Project Banana"
KDE recently turned 30 (many blog posts about it this past week)
Intercontinental Brigading - Part VI - Racism Against Blacks
Systems don't always work as intended
Inevitable Things
"Bitbucket was Inevitable"
Andy's Passing Thoughts on Media Dying, Not Reporting News (Even Critical News About Itself)
No more news
Stallman Was Right About Torvalds
The crowd/audience Linus Torvalds panders to is paid by GAFAM to go attend and dominate (speak at) LF events. They're people whose employer forces them to use slop, it's inorganic.
Links 17/10/2026: "Why Math Dumped OpenAI", US Third Circuit Has Confirmed LLMs and Other Slop Constitute Plagiarism or Copyright Infringement
Links for the day
GPL Was Right (About Hoarding, Now Automated With Plagiarism Blenders)
Some time next year the UK's High Court might listen to arguments related to this
Microsoft Allegedly Asks Many Workers to Leave at the End of This Year (or Get the Boot), It's Called Voluntary Exit Program a.k.a. Voluntary Early Retirement Program (or VEP) Even for People Far Too Young to Retire
"Everyone at Microsoft knows what those acronyms mean."
The Torvalds-led Slopfest as a Reminder to Pursue Software Freedom, Not Plagiarism Endorsed (for Money) by 'Linux' Foundation
What's happening this month moreover proves that he is not in control of important decisions in his project
Why We Never Got Back to IPFS
Practically speaking, we could get back to IPFS any time
Trillions of Dollars in Debt Are Not "Investment", More People Realise This Now
"Investors started offloading shares on Wednesday in response to an X post about the debt load of CoreWeave Inc..."
Red Hat Silent Layoffs: October 1 Bluewashing, Then Leaving IBM Altogether
It's said that weeks from now there will be another "round" (of "RAs")
Gemini Links 16/10/2026: Metrovision, Smartwatches, and Rekindled Love for Geminispace
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, October 16, 2026
IRC logs for Friday, October 16, 2026
Intercontinental Brigading - Part V - Keeping Linux Under Users' Control, Not Microsoft's (NSA) Control, Leads to Weaponisation of Cops (Killing the Messengers)
Transatlantic lawfare