CVE-2020-28638

ask_password in Tomb 2.0 through 2.7 returns a warning when pinentry-curses is used and $DISPLAY is non-empty, causing affected users' files to be encrypted…

published November 13, 2020

CVSS
—
EPSS
1%
Percentile
53.1
In the wild
Unconfirmed
What it is

⚠️ A warning message during encryption could lead to an unexpected disaster! In Tomb versions 2.0 through 2.7, using pinentry-curses with a non-empty $DISPLAY can cause your files to be encrypted with an incorrect key. 😱 Think of it like a restaurant that accidentally serves up a dish with the wrong recipe because the chef mistook a spicy ingredient for something sweet — it looks right, but the flavor is totally off! This means your files may become inaccessible, locked away with a key that's basically gibberish to you. Imagine spending hours working on something only to find out you’ve used a secret recipe that nobody can taste!

Put simply

Think of it like a restaurant that accidentally serves up a dish with the wrong recipe because the chef mistook a spicy ingredient for something sweet — it looks right, but the flavor is totally off! The vulnerability in Tomb arises when the ask_password function doesn't handle the DISPLAY environment variable properly with pinentry-curses, resulting in an encryption key that’s not valid for your files, making decryption nearly impossible.

What to do

This means your files may become inaccessible, locked away with a key that's basically gibberish to you. Imagine spending hours working on something only to find out you’ve used a secret recipe that nobody can taste! To protect yourself, upgrade Tomb to version 2.8 or higher immediately to eliminate this flaw. Also, double-check your configuration to ensure it aligns properly without unnecessary DISPLAY variables. 🛡️ You've got this! With a quick upgrade, you'll have your encryption secure in no time! 🔒✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00714 · 53.1th percentile
Published
2020-11-13T20:25Z
EPSS history
Timeline
  • 13 NOV 20:25Z
    ask_password in Tomb 2.0 through 2.7 returns a warning when pinentry-curses is used and $DISPLAY is non-empty, causing affected users' files to be encrypted…
    cvelistv5