{"answers":{"affected":"3 open source packages ship an affected version, including pydoris. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23942 in the wild and no public exploit code.","fix":"Upgrade pydoris to 1.0.0 or later.","what":"CVE-2022-23942 is a high-severity vulnerability in Apache Doris(Incubating), published on 26 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23942 and fix it if it is affected.\n\nWhat it is: CVE-2022-23942 is a high-severity vulnerability in Apache Doris(Incubating), published on 26 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23942 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pydoris (PyPI): affected all versions; fixed in 1.0.0\n- pydoris (PyPI): affected all versions; fixed in 1.0.0\n- pydoris (PyPI): affected all versions; fixed in 1.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23942/ (Markdown: https://insights.sbomify.com/CVE-2022-23942/index.md)","id":"CVE-2022-23942","markdown":"https://insights.sbomify.com/CVE-2022-23942/index.md","name":"CVE-2022-23942","record":{"aliases":["GHSA-98j2-hfxp-8h8r","PYSEC-2022-43150"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Doris database","requires_auth":"none","summary":"Attackers can decrypt LDAP passwords due to hardcoded cryptographic keys in Apache Doris, leading to information disclosure.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"doris","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Doris hardcoded cryptography initialization","id":"CVE-2022-23942","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"hardcoded_credentials","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"mod_sed: Read/write beyond bounds","id":"CVE-2022-23943"},"packages":[{"ecosystem":"PyPI","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"pydoris","purl":null,"source":"GHSA-98j2-hfxp-8h8r"},{"ecosystem":"PyPI","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"pydoris","purl":"pkg:pypi/pydoris","source":"GHSA-98j2-hfxp-8h8r"},{"ecosystem":"PyPI","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"pydoris","purl":"pkg:pypi/pydoris","source":"PYSEC-2022-43150"}],"prev":{"headline":"Deserialization in n/a","id":"CVE-2022-23940"},"products":["Apache Doris(Incubating)"],"published":"2022-04-26","related":[{"cvss_score":9.8,"headline":"Apache Doris: Downloading arbitrary remote jar files resulting in remote command execution","id":"CVE-2024-27438","kev_date_added":null,"published":"2024-03-21"},{"cvss_score":9.8,"headline":"Apache Doris: Timing Attack weakness","id":"CVE-2023-41313","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":9.1,"headline":"Apache Doris: Improper Authentication in Frontend HTTP API","id":"CVE-2026-58319","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.2,"headline":"Apache Doris: Missing API authentication allowed DoS","id":"CVE-2023-41314","kev_date_added":null,"published":"2023-12-18"},{"cvss_score":5.4,"headline":"Apache Doris: allows admin users to read arbitrary files through the REST API","id":"CVE-2024-48019","kev_date_added":null,"published":"2025-02-04"},{"cvss_score":5.3,"headline":"Apache Doris: Possible race condition","id":"CVE-2024-26307","kev_date_added":null,"published":"2024-03-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"Attackers can decrypt LDAP passwords due to hardcoded cryptographic keys in Apache Doris, leading to information disclosure.","url":"https://insights.sbomify.com/CVE-2022-23942/"}