CVE-2015-9259

In Docker Notary before 0.1, the checkRoot function in gotuf/client/client.go does not check expiry of root.json files, despite a comment stating that it does

published March 31, 2018

CVSS
โ€”
EPSS
1%
Percentile
69.9
In the wild
Unconfirmed
What it is

โš ๏ธ An old root.json file might be your security Achilles' heel! Docker Notary before 0.1 overlooks checking the expiry of these files, leaving a sneaky backdoor open for attackers. ๐Ÿ”ฅ Think of root.json like the menu at a restaurant โ€” if the chef doesn't update it after a recipe change, diners might end up with outdated or even spoiled dishes. In this case, an attacker can exploit this oversight to serve up stale or even malicious updates. This vulnerability could allow an attacker to create updates based on a compromised old root.json file, leading to potential unauthorized changes in your container images. If you're not careful, your secure setup could end up serving up some nasty surprises!

Put simply

Think of root.json like the menu at a restaurant โ€” if the chef doesn't update it after a recipe change, diners might end up with outdated or even spoiled dishes. In this case, an attacker can exploit this oversight to serve up stale or even malicious updates. In Docker Notary versions prior to 0.1, the checkRoot function fails to verify the expiry of root.json files, even though the code comments imply it should. This oversight can lead to the acceptance of outdated update files by the system.

What to do

This vulnerability could allow an attacker to create updates based on a compromised old root.json file, leading to potential unauthorized changes in your container images. If you're not careful, your secure setup could end up serving up some nasty surprises! To secure your setup, upgrade Docker Notary to at least version 0.1 or later. Regularly audit your root.json files and secure your keys to prevent any compromise. Stay vigilant! You've got this! Follow these steps, and you'll keep your Docker environment safe and sound. ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01293 ยท 69.9th percentile
Published
2018-03-31T21:00Z
EPSS history
Timeline
  • 31 MAR 21:00Z
    In Docker Notary before 0.1, the checkRoot function in gotuf/client/client.go does not check expiry of root.json files, despite a comment stating that it does
    cvelistv5