p PatchFirst

CVE-2020-15113

CVE-2020-15113 · Improper Preservation of Permissions in etcd

CVSS 5.7 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • etcdNo fix published
  • etcd Debian 12Update to 3.3.25+dfsg-5
  • etcd Debian 13Update to 3.3.25+dfsg-5
  • etcd Debian 14Update to 3.3.25+dfsg-5
  • and 8 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="etcd"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In etcd before versions 3.3.23 and 3.4.10, certain directory paths are created (etcd data directory and the directory path when provided to automatically generate self-signed certificates for TLS connections with clients) with restricted access permissions (700) by using the os.MkdirAll. This function does not perform any permission checks when a given directory path exists already. A possible workaround is to ensure the directories have the desired permission (700).

Published
Updated

Fixes in distributions

  • RHSA-2021:0916 · Red Hat openstack 16.1 el8 ·
  • USN-5628-2 · Ubuntu Pro 18.04 LTS ·
  • USN-5628-1 · Ubuntu 20.04 LTS ·

Stack: system

Affected products and versions

  • etcd

    Versions
    • < 3.3.23: Affected
    • < 3.4.10: Affected

    No fix published

  • etcd Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.3.25+dfsg-5

    Update to 3.3.25+dfsg-5

  • etcd Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.3.25+dfsg-5

    Update to 3.3.25+dfsg-5

  • etcd Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.3.25+dfsg-5

    Update to 3.3.25+dfsg-5

  • etcd Ubuntu 16.04 LTS

    Versions
    • 2.2.0+dfsg-2
    • 2.2.1+dfsg-1
    • 2.2.2+dfsg-1
    • 2.2.2+dfsg-2
    • 2.2.3+dfsg-1
    • 2.2.5+dfsg-1
    All versions (7)
    • 2.2.5+dfsg-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • etcd Ubuntu Pro 18.04 LTS

    Versions
    • 3.1.0-1
    • 3.2.9+dfsg-2
    • 3.2.9+dfsg-3
    • 3.2.17+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 3.2.17+dfsg-1ubuntu0.1~esm1

    Update to 3.2.17+dfsg-1ubuntu0.1~esm1

  • etcd Ubuntu 20.04 LTS

    Versions
    • 3.2.26+dfsg-3
    • 3.2.26+dfsg-4
    • 3.2.26+dfsg-6
    Affected ranges
    • ECOSYSTEM: < 3.2.26+dfsg-6ubuntu0.1

    Update to 3.2.26+dfsg-6ubuntu0.1

  • etcd Ubuntu Pro 22.04 LTS

    Versions
    • 3.3.25+dfsg-6
    • 3.3.25+dfsg-7
    • 3.3.25+dfsg-7ubuntu0.22.04.1
    • 3.3.25+dfsg-7ubuntu0.22.04.1+esm1
    • 3.3.25+dfsg-7ubuntu0.22.04.2
    • 3.3.25+dfsg-7ubuntu0.22.04.2+esm1
    All versions (8)
    • 3.3.25+dfsg-7ubuntu0.22.04.2+esm2
    • 3.3.25+dfsg-7ubuntu0.22.04.2+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • etcd Ubuntu Pro 24.04 LTS

    Versions
    • 3.4.23-4ubuntu2
    • 3.4.30-1
    • 3.4.30-1build1
    • 3.4.30-1ubuntu0.24.04.1
    • 3.4.30-1ubuntu0.24.04.2
    • 3.4.30-1ubuntu0.24.04.2+esm1
    All versions (9)
    • 3.4.30-1ubuntu0.24.04.3
    • 3.4.30-1ubuntu0.24.04.3+esm1
    • 3.4.30-1ubuntu0.24.04.3+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • etcd Ubuntu 25.10

    Versions
    • 3.5.16-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • etcd Ubuntu 26.10

    Versions
    • 3.5.16-10
    • 3.5.30-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • etcd Ubuntu Pro 26.04 LTS

    Versions
    • 3.5.16-4
    • 3.5.16-10
    • 3.5.16-10ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →