CVE-2022-23942 — pydoris
HIGHCVE-2022-23942 is a high-severity (CVSS 7.5) Hard-coded Credentials vulnerability in pydoris. A fix is available for pydoris — see the affected versions and patch details below.
Apache Doris hardcoded key and IV
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
pydorisReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | pydoris | all versions | 1.0.0pip install --upgrade 'pydoris==1.0.0' |
Affected Products
dorisapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for pydoris, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update pydoris to 1.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-23942 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2022-23942 in your dependencies?
Find it across PyPI, including transitive dependencies.