{"api_version":"1","generated_at":"2026-04-23T00:58:28+00:00","cve":"CVE-2018-20187","urls":{"html":"https://cve.report/CVE-2018-20187","api":"https://cve.report/api/cve/CVE-2018-20187.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20187","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20187"},"summary":{"title":"CVE-2018-20187","description":"A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-03-08 19:29:00","updated_at":"2019-03-12 20:39:00"},"problem_types":["CWE-320"],"metrics":[],"references":[{"url":"https://botan.randombit.net/security.html","name":"https://botan.randombit.net/security.html","refsource":"MISC","tags":["Vendor Advisory"],"title":"Security Advisories — Botan","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/crocs-muni/ECTester","name":"https://github.com/crocs-muni/ECTester","refsource":"MISC","tags":["Not Applicable","Third Party Advisory"],"title":"GitHub - crocs-muni/ECTester: Tests support and behavior of elliptic curve cryptography implementations on JavaCards (TYPE_EC_FP and TYPE_EC_F2M) and in selected software libraries.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://botan.randombit.net/news.html","name":"https://botan.randombit.net/news.html","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"Release Notes — Botan","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20187","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20187","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"20187","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"botan_project","cpe5":"botan","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"20187","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"botan_project","cpe5":"botan","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-20187","qid":"500074","title":"Alpine Linux Security Update for botan"},{"cve":"CVE-2018-20187","qid":"503750","title":"Alpine Linux Security Update for botan"},{"cve":"CVE-2018-20187","qid":"690251","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for botan2 (d8e7e854-17fa-11e9-bef6-6805ca2fa271)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-20187","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/crocs-muni/ECTester","refsource":"MISC","url":"https://github.com/crocs-muni/ECTester"},{"name":"https://botan.randombit.net/news.html","refsource":"MISC","url":"https://botan.randombit.net/news.html"},{"name":"https://botan.randombit.net/security.html","refsource":"MISC","url":"https://botan.randombit.net/security.html"}]}},"nvd":{"publishedDate":"2019-03-08 19:29:00","lastModifiedDate":"2019-03-12 20:39:00","problem_types":["CWE-320"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*","versionEndExcluding":"2.9.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"20187","Ordinal":"140454","Title":"CVE-2018-20187","CVE":"CVE-2018-20187","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"20187","Ordinal":"1","NoteData":"A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"20187","Ordinal":"2","NoteData":"2019-03-08","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"20187","Ordinal":"3","NoteData":"2019-03-08","Type":"Other","Title":"Modified"}]}}}