{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-45458","id":"CVE-2021-45458","title":"Hardcoded credentials","description":"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.","descriptionLong":"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.","published":"2022-01-06T12:35:24.000Z","updated":"2026-10-24T10:30:31.605756555Z","reserved":"2021-12-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache Kylin"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Kylin","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.6.6","status":"affected","version":"Apache Kylin 2","versionType":"custom"},{"lessThanOrEqual":"3.1.2","status":"affected","version":"Apache Kylin 3","versionType":"custom"},{"lessThanOrEqual":"4.0.0","status":"affected","version":"Apache Kylin 4","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.kylin:kylin","purl":"pkg:maven/org.apache.kylin/kylin","ranges":["<3.1.3",">=4.0.0 <4.0.1"],"fixed":["3.1.3","4.0.1"],"advisory":"GHSA-9fj5-jg6f-qg5r"}],"cwes":["CWE-798","CWE-330","CWE-326"],"aliases":["GHSA-9fj5-jg6f-qg5r"],"references":[{"url":"https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45458","tags":["advisory"]},{"url":"https://github.com/apache/kylin/pull/1781","tags":["web"]},{"url":"https://github.com/apache/kylin/pull/1782","tags":["web"]},{"url":"https://github.com/apache/kylin","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02148,"epssPercentile":0.82501,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-45458","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45458","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-45458","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9fj5-jg6f-qg5r","ok":true,"note":"GHSA-9fj5-jg6f-qg5r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-45458","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}