# CVE-2022-34831: An issue was discovered in Keyfactor PrimeKey EJBCA before 7.9.0, related to possible inconsistencies in DNS identifiers submitted in an AC…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-02)
- Published: 2022-09-14T02:58:52.000Z
- Modified: 2026-09-08T08:47:12.213Z
- Also known as: BIT-EJBCA-2022-34831
- Weaknesses: CWE-295
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- primekey ejbca: before 7.9.0
- ejbca (Bitnami): before 7.9.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://www.primekey.com/products/ejbca-enterprise/> (advisory, product, vendor-advisory)
- <https://support.keyfactor.com/s/detail/a6x1Q000000CwC5QAK> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34831> (web)

## Sources

- CVE List: [CVE-2022-34831](https://www.cve.org/CVERecord?id=CVE-2022-34831), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-34831](https://nvd.nist.gov/vuln/detail/CVE-2022-34831), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-EJBCA-2022-34831](https://osv.dev/vulnerability/BIT-EJBCA-2022-34831), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-34831 · Whole record: https://cve.day/CVE-2022-34831.json · Rebuilt by cve.day 2026-11-25T22:58:14.923Z
