{"answers":{"affected":"5 open source packages ship an affected version, including github.com/etcd-io/etcd and etcd. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-15113 in the wild and no public exploit code.","fix":"Upgrade github.com/etcd-io/etcd to a fixed version for your release line: 3.3.23 or 3.4.10.","what":"CVE-2020-15113 is a medium-severity vulnerability in Fedoraproject Fedora, published on 5 Aug 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15113 and fix it if it is affected.\n\nWhat it is: CVE-2020-15113 is a medium-severity vulnerability in Fedoraproject Fedora, published on 5 Aug 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-15113 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/etcd-io/etcd (Go): affected all versions; fixed in 3.3.23\n- github.com/etcd-io/etcd (Go): affected all versions; fixed in 3.3.23\n- github.com/etcd-io/etcd (Go): affected from 3.4.0-rc.0; fixed in 3.4.10\n- github.com/etcd-io/etcd (Go): affected from 3.4.0-rc.0; fixed in 3.4.10\n- etcd (Bitnami): affected all versions; fixed in 3.3.23, 3.4.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-15113/ (Markdown: https://insights.sbomify.com/CVE-2020-15113/index.md)","id":"CVE-2020-15113","markdown":"https://insights.sbomify.com/CVE-2020-15113/index.md","name":"CVE-2020-15113","record":{"aliases":["AZL-6390","BIT-etcd-2020-15113","DEBIAN-CVE-2020-15113","GHSA-chh6-ppwq-jh92","UBUNTU-CVE-2020-15113"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"etcd distributed key-value store","requires_auth":"high_privilege","summary":"Attackers can read or modify sensitive etcd data if directories are created with insecure permissions due to improper permission preservation.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"etcd","vendor":"etcd"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"description":"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).","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Preservation of Permissions in etcd","id":"CVE-2020-15113","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"misconfiguration","year":"2020"},"n_packages":5,"n_references":2,"next":{"headline":"Denial of Service in etcd","id":"CVE-2020-15114"},"packages":[{"ecosystem":"Bitnami","fixed":["3.3.23","3.4.10"],"introduced":["0","3.4.0"],"last_affected":[],"package":"etcd","purl":"pkg:bitnami/etcd","source":"BIT-etcd-2020-15113"},{"ecosystem":"Go","fixed":["3.3.23"],"introduced":["0"],"last_affected":[],"package":"github.com/etcd-io/etcd","purl":null,"source":"GHSA-chh6-ppwq-jh92"},{"ecosystem":"Go","fixed":["3.3.23"],"introduced":["0"],"last_affected":[],"package":"github.com/etcd-io/etcd","purl":"pkg:golang/github.com/etcd-io/etcd","source":"GHSA-chh6-ppwq-jh92"},{"ecosystem":"Go","fixed":["3.4.10"],"introduced":["3.4.0-rc.0"],"last_affected":[],"package":"github.com/etcd-io/etcd","purl":null,"source":"GHSA-chh6-ppwq-jh92"},{"ecosystem":"Go","fixed":["3.4.10"],"introduced":["3.4.0-rc.0"],"last_affected":[],"package":"github.com/etcd-io/etcd","purl":"pkg:golang/github.com/etcd-io/etcd","source":"GHSA-chh6-ppwq-jh92"}],"prev":{"headline":"Improper Input Validation in etcd","id":"CVE-2020-15112"},"products":["etcd"],"published":"2020-08-05","related":[{"cvss_score":9.8,"headline":"Etcd-io Improper Authentication vulnerability","id":"CVE-2021-28235","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":8.8,"headline":"etcd: Authorization bypasses in multiple APIs","id":"CVE-2026-33413","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2022-34038","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":6.8,"headline":"go.etcd.io/etcd Authentication Bypass","id":"CVE-2018-16886","kev_date_added":null,"published":"2019-01-14"},{"cvss_score":6.5,"headline":"etcd: gRPC client listener does not enforce `--client-crl-file` certificate revocation","id":"CVE-2026-59818","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":6.5,"headline":"Improper Input Validation in etcd","id":"CVE-2020-15106","kev_date_added":null,"published":"2020-08-05"},{"cvss_score":6.5,"headline":"Improper Input Validation in etcd","id":"CVE-2020-15112","kev_date_added":null,"published":"2020-08-05"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["etcd-io"]},"summary":"Attackers can read or modify sensitive etcd data if directories are created with insecure permissions due to improper permission preservation.","url":"https://insights.sbomify.com/CVE-2020-15113/"}