# CVE-2022-23942: Apache Doris hardcoded cryptography initialization

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.82% (percentile 87, 2026-11-26)
- **CWE:** CWE-798
- **Aliases:** GHSA-98j2-hfxp-8h8r, PYSEC-2022-43150
- **Published:** 2022-04-26T16:05:10.000Z
- **Modified:** 2026-06-17T04:31:01.497Z

## Who should check

- Projects that depend on PyPI package pydoris (\< 1.0.0)
- Anyone running Apache Software Foundation Apache Doris(Incubating) 0.15.0

## Description

Apache Doris, prior to 1.0.0, used a hardcoded key and IV to initialize the cipher used for ldap password, which may lead to information disclosure.

## Affected and fixed versions

- PyPI `pydoris`: affected \< 1.0.0; fixed 1.0.0 (osv)
- Apache Software Foundation Apache Doris(Incubating): 0.15.0 (cvelist)

## Mitigation

- Upgrade pydoris to 1.0.0 or later.
- Vendor workaround: Upgrade to 1.0.0 or higher will resolve this problem.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-23942. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-23942.md
Affected: pydoris < 1.0.0
Fixed in: 1.0.0

Steps:
1. Search this machine and project for pydoris (PyPI), Apache Software Foundation Apache Doris(Incubating): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-23942 being exploited?

There is no confirmed exploitation: CVE-2022-23942 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.82% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-23942?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2022-23942?

pydoris \< 1.0.0.

### Is there a fix for CVE-2022-23942?

Yes. Fixed in 1.0.0. Upgrade pydoris to 1.0.0 or later. Vendor workaround: Upgrade to 1.0.0 or higher will resolve this problem.

### How do I check if I'm affected by CVE-2022-23942?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/com2dyzp3bn2rdrotry90q2zzord4tvt>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-23942>
- vendor: <https://github.com/advisories/GHSA-98j2-hfxp-8h8r>
- article: <http://www.openwall.com/lists/oss-security/2022/04/26/2>
- article: <http://www.openwall.com/lists/oss-security/2022/04/26/3>
- other: <https://github.com/apache/doris>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/pydoris/PYSEC-2022-43150.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-23942>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-98j2-hfxp-8h8r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2022-43150> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-23942> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-23942>
