{"id":"CVE-2022-34831","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-34831","generatedAt":"2026-10-27T20:53:17.628Z","title":"This occurs even if the certificate profile is configured to not allow a DN override by the CSR.","description":"An issue was discovered in Keyfactor PrimeKey EJBCA before 7.9.0, related to possible inconsistencies in DNS identifiers submitted in an ACME order and the corresponding CSR submitted during finalization. During the ACME enrollment process, an order is submitted containing an identifier for one or multiple dnsNames. These are validated properly in the ACME challenge. However, if the validation passes, a non-compliant client can include additional dnsNames the CSR sent to the finalize endpoint, resulting in EJBCA issuing a certificate including the identifiers that were not validated. This occurs even if the certificate profile is configured to not allow a DN override by the CSR.","published":"2022-09-14T03:15:08.000Z","lastModified":"2026-06-17T04:51:01.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-295"],"affected":["primekey/ejbca"],"epss":{"score":0.00518,"percentile":0.43791,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.52%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://support.keyfactor.com/s/detail/a6x1Q000000CwC5QAK","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.primekey.com/products/ejbca-enterprise/","tags":["Product","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://support.keyfactor.com/s/detail/a6x1Q000000CwC5QAK","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.primekey.com/products/ejbca-enterprise/","tags":["Product","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-34831","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}