UBUNTU-CVE-2020-15113 (CVE-2020-15113)

Vulnerability from osv_ubuntu – Published: 2020-08-05 20:15 – Updated: 2026-07-02 15:49 – Source website
VLAI
Details

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).


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "etcd",
            "binary_version": "2.2.5+dfsg-1ubuntu1"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "2.2.5+dfsg-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@2.2.5+dfsg-1ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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",
        "2.2.5+dfsg-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "etcd",
            "binary_version": "3.2.17+dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "etcd-client",
            "binary_version": "3.2.17+dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "etcd-server",
            "binary_version": "3.2.17+dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "3.2.17+dfsg-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@3.2.17+dfsg-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.17+dfsg-1ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.0-1",
        "3.2.9+dfsg-2",
        "3.2.9+dfsg-3",
        "3.2.17+dfsg-1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "etcd",
            "binary_version": "3.2.26+dfsg-6ubuntu0.1"
          },
          {
            "binary_name": "etcd-client",
            "binary_version": "3.2.26+dfsg-6ubuntu0.1"
          },
          {
            "binary_name": "etcd-server",
            "binary_version": "3.2.26+dfsg-6ubuntu0.1"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "3.2.26+dfsg-6ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@3.2.26+dfsg-6ubuntu0.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.26+dfsg-6ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.26+dfsg-3",
        "3.2.26+dfsg-4",
        "3.2.26+dfsg-6"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "etcd",
            "binary_version": "3.3.25+dfsg-7ubuntu0.22.04.2+esm3"
          },
          {
            "binary_name": "etcd-client",
            "binary_version": "3.3.25+dfsg-7ubuntu0.22.04.2+esm3"
          },
          {
            "binary_name": "etcd-server",
            "binary_version": "3.3.25+dfsg-7ubuntu0.22.04.2+esm3"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "3.3.25+dfsg-7ubuntu0.22.04.2+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@3.3.25+dfsg-7ubuntu0.22.04.2+esm3?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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",
        "3.3.25+dfsg-7ubuntu0.22.04.2+esm2",
        "3.3.25+dfsg-7ubuntu0.22.04.2+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "etcd-client",
            "binary_version": "3.4.30-1ubuntu0.24.04.3+esm2"
          },
          {
            "binary_name": "etcd-server",
            "binary_version": "3.4.30-1ubuntu0.24.04.3+esm2"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "3.4.30-1ubuntu0.24.04.3+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@3.4.30-1ubuntu0.24.04.3+esm2?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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",
        "3.4.30-1ubuntu0.24.04.3",
        "3.4.30-1ubuntu0.24.04.3+esm1",
        "3.4.30-1ubuntu0.24.04.3+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "etcd-client",
            "binary_version": "3.5.16-4"
          },
          {
            "binary_name": "etcd-server",
            "binary_version": "3.5.16-4"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "3.5.16-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@3.5.16-4?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.16-4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "etcd-client",
            "binary_version": "3.5.16-10ubuntu0.26.04.1~esm1"
          },
          {
            "binary_name": "etcd-server",
            "binary_version": "3.5.16-10ubuntu0.26.04.1~esm1"
          },
          {
            "binary_name": "golang-etcd-server-dev",
            "binary_version": "3.5.16-10ubuntu0.26.04.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "etcd",
        "purl": "pkg:deb/ubuntu/etcd@3.5.16-10ubuntu0.26.04.1~esm1?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.16-4",
        "3.5.16-10",
        "3.5.16-10ubuntu0.26.04.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "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).",
  "id": "UBUNTU-CVE-2020-15113",
  "modified": "2026-07-02T15:49:51Z",
  "published": "2020-08-05T20:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-15113"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5628-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5628-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2020-15113"
    }
  ],
  "related": [
    "USN-5628-1",
    "USN-5628-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-15113"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…