{"id":"CVE-2021-45458","aliases":["CVE-2021-45458","GHSA-9fj5-jg6f-qg5r"],"related":[],"kind":"vulnerability","state":"published","title":"Hardcoded credentials","summary":"Apache Kylin provides encryption classes PasswordPlaceholderConfigurer to help users encrypt their passwords. In the encryption algorithm used by this encryption class, the cipher is initialized with a hardcoded key and IV. If users use class PasswordPlaceholderConfigurer to encrypt their password and configure it into kylin's configuration file, there is a risk that the password may be decrypted. This issue affects Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior versions; Apache Kylin 4 version 4.0.0 and prior versions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Apache Kylin provides encryption classes PasswordPlaceholderConfigurer to help users encrypt their passwords. In the encryption algorithm used by this encryption class, the cipher is initialized with a hardcoded key and IV. If users use class PasswordPlaceholderConfigurer to encrypt their password and configure it into kylin's configuration file, there is a risk that the password may be decrypted. This issue affects Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior versions; Apache Kylin 4 version 4.0.0 and prior versions.","source":"cvelist"},{"lang":"es","text":"Apache Kylin proporciona clases de cifrado PasswordPlaceholderConfigurer para ayudar a usuarios a cifrar sus contraseñas. En el algoritmo de cifrado usado por esta clase de cifrado, el cifrado es inicializado con una clave y un IV embebidos. Si los usuarios usan la clase PasswordPlaceholderConfigurer para cifrar su contraseña y la configuran en el archivo de configuración de kylin, se presenta el riesgo de que la contraseña pueda ser descifrada. Este problema afecta a Apache Kylin 2 versiones 2.6.6 y anteriores; Apache Kylin 3 versiones 3.1.2 y anteriores; Apache Kylin 4 versiones 4.0.0 y anteriores.","source":"nvd"}],"published":"2022-01-06T12:35:24.000Z","modified":"2026-06-17T04:13:24.293Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-326","CWE-330","CWE-798"],"affected":[{"ranges":[{"type":"custom","introduced":"Apache Kylin 2","lastAffected":"2.6.6","status":"affected"},{"type":"custom","introduced":"Apache Kylin 3","lastAffected":"3.1.2","status":"affected"},{"type":"custom","introduced":"Apache Kylin 4","lastAffected":"4.0.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Kylin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.1.3"}],"ecosystem":"Maven","package":"org.apache.kylin:kylin","purl":"pkg:maven/org.apache.kylin/kylin","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.1"}],"ecosystem":"Maven","package":"org.apache.kylin:kylin","purl":"pkg:maven/org.apache.kylin/kylin","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","lastAffected":"2.6.6"},{"status":"affected","introduced":"3.0.0","fixed":"3.1.3"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.0.0"}],"vendor":"apache","product":"kylin","cpe":"cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy","tags":["mailing-list","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/7","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/3","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45458","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/kylin/pull/1781","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/kylin/pull/1782","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/kylin","tags":["package"],"sources":["ghsa"]}],"credits":["Alvaro Munoz <pwntester@github.com>"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45458","url":"https://www.cve.org/CVERecord?id=CVE-2021-45458","licence":"CVE Terms of Use","modified":"2024-08-04T04:39:21.117Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9fj5-jg6f-qg5r","url":"https://github.com/advisories/GHSA-9fj5-jg6f-qg5r","licence":"CC-BY-4.0","modified":"2024-02-16T08:04:29.797Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45458","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45458","licence":"Public domain","modified":"2026-06-17T04:13:24.293Z"}],"updatedAt":"2026-11-25T22:58:06.414Z","epss":{"score":0.02148,"percentile":0.82633,"date":"2026-12-01T12:00:22.000Z"}}