{"answers":{"affected":"1 open source package ship an affected version, including postgresql. It affects 6 products.","exploited":"There is no known exploitation of CVE-2022-41862 in the wild and no public exploit code.","fix":"Upgrade postgresql to a fixed version for your release line: 12.14.0, 13.10.0, 14.7.0 or 15.2.0.","what":"CVE-2022-41862 is a low-severity vulnerability in Fedoraproject Fedora, published on 3 Mar 2023. 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-41862 and fix it if it is affected.\n\nWhat it is: CVE-2022-41862 is a low-severity vulnerability in Fedoraproject Fedora, published on 3 Mar 2023. 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-41862 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- postgresql (Bitnami): affected from 12.0.0; fixed in 12.14.0, 13.10.0, 14.7.0, 15.2.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-41862/ (Markdown: https://insights.sbomify.com/CVE-2022-41862/index.md)","id":"CVE-2022-41862","markdown":"https://insights.sbomify.com/CVE-2022-41862/index.md","name":"CVE-2022-41862","record":{"aliases":["ALPINE-CVE-2022-41862","ALSA-2023:6429","ALSA-2023:7016","BIT-postgresql-2022-41862","CLEANSTART-2026-NR73555","CLSA-2026-1785316580","DEBIAN-CVE-2022-41862","ECHO-2a2d-e9da-5962","GHSA-fr68-cm8v-7vv6","JLSEC-2026-39","MGASA-2023-0064","RHSA-2023:6429","RHSA-2023:7016","RLSA-2023:7016","SUSE-SU-2023:0390-1","SUSE-SU-2023:0391-1","SUSE-SU-2023:0392-1","SUSE-SU-2023:0393-1","SUSE-SU-2023:0450-1","SUSE-SU-2023:0479-1","SUSE-SU-2023:0569-1","SUSE-SU-2023:0583-1","SUSE-SU-2023:0705-1","UBUNTU-CVE-2022-41862","USN-5906-1","openSUSE-SU-2024:12677-1","openSUSE-SU-2024:12678-1","openSUSE-SU-2024:12679-1","openSUSE-SU-2024:12680-1"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"PostgreSQL database","requires_auth":"none","summary":"A malicious server can cause libpq clients to leak uninitialized memory bytes during Kerberos authentication, potentially exposing sensitive data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"postgresql","vendor":"postgresql"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"integration_camel_k","vendor":"redhat"},{"product":"integration_camel_quarkus","vendor":"redhat"},{"product":"integration_service_registry","vendor":"redhat"}],"cvss":{"score":3.7,"severity":"low","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"In PostgreSQL, a modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption. In certain conditions a server can cause a libpq client to over-read and report an error message containing uninitialized bytes.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Rocky Linux:8","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Legacy 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"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":"Information disclosure in postgresql","id":"CVE-2022-41862","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","postgresql:postgresql","redhat:enterprise_linux"],"type":"information_disclosure","year":"2022"},"n_packages":96,"n_references":3,"next":{"headline":"Command injection in n/a","id":"CVE-2022-41870"},"packages":[{"ecosystem":"Bitnami","fixed":["12.14.0","13.10.0","14.7.0","15.2.0"],"introduced":["12.0.0","13.0.0","14.0.0","15.0.0"],"last_affected":[],"package":"postgresql","purl":"pkg:bitnami/postgresql","source":"BIT-postgresql-2022-41862"},{"ecosystem":"AlmaLinux:8","fixed":["13.11-1.el8.alma.1"],"introduced":["0"],"last_affected":[],"package":"libpq","purl":"pkg:rpm/almalinux/libpq","source":"ALSA-2023:7016"},{"ecosystem":"AlmaLinux:8","fixed":["13.11-1.el8.alma.1"],"introduced":["0"],"last_affected":[],"package":"libpq-devel","purl":"pkg:rpm/almalinux/libpq-devel","source":"ALSA-2023:7016"},{"ecosystem":"AlmaLinux:9","fixed":["13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq","purl":"pkg:rpm/almalinux/libpq","source":"ALSA-2023:6429"},{"ecosystem":"AlmaLinux:9","fixed":["13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq-devel","purl":"pkg:rpm/almalinux/libpq-devel","source":"ALSA-2023:6429"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:13.11-1.el8"],"introduced":["0"],"last_affected":[],"package":"libpq","purl":"pkg:rpm/redhat/libpq","source":"RHSA-2023:7016"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:13.11-1.el8"],"introduced":["0"],"last_affected":[],"package":"libpq-debuginfo","purl":"pkg:rpm/redhat/libpq-debuginfo","source":"RHSA-2023:7016"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:13.11-1.el8"],"introduced":["0"],"last_affected":[],"package":"libpq-debugsource","purl":"pkg:rpm/redhat/libpq-debugsource","source":"RHSA-2023:7016"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:13.11-1.el8"],"introduced":["0"],"last_affected":[],"package":"libpq-devel","purl":"pkg:rpm/redhat/libpq-devel","source":"RHSA-2023:7016"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:13.11-1.el8"],"introduced":["0"],"last_affected":[],"package":"libpq-devel-debuginfo","purl":"pkg:rpm/redhat/libpq-devel-debuginfo","source":"RHSA-2023:7016"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq","purl":"pkg:rpm/redhat/libpq","source":"RHSA-2023:6429"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq-debuginfo","purl":"pkg:rpm/redhat/libpq-debuginfo","source":"RHSA-2023:6429"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq-debugsource","purl":"pkg:rpm/redhat/libpq-debugsource","source":"RHSA-2023:6429"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq-devel","purl":"pkg:rpm/redhat/libpq-devel","source":"RHSA-2023:6429"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:13.11-1.el9"],"introduced":["0"],"last_affected":[],"package":"libpq-devel-debuginfo","purl":"pkg:rpm/redhat/libpq-devel-debuginfo","source":"RHSA-2023:6429"},{"ecosystem":"Rocky Linux:8","fixed":["0:13.11-1.el8"],"introduced":["0"],"last_affected":[],"package":"libpq","purl":"pkg:rpm/rocky-linux/libpq?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2023:7016"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["12.14-150200.8.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql12","purl":"pkg:rpm/suse/postgresql12\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0450-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["13.10-150200.5.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql13","purl":"pkg:rpm/suse/postgresql13\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0583-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["14.7-150200.5.23.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0705-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["15.2-150200.5.6.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0569-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["12.14-150200.8.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql12","purl":"pkg:rpm/suse/postgresql12\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0450-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["13.10-150200.5.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql13","purl":"pkg:rpm/suse/postgresql13\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0583-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["14.7-150200.5.23.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0705-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["15.2-150200.5.6.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0569-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["12.14-150100.3.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql12","purl":"pkg:rpm/suse/postgresql12\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:0479-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["12.14-150200.8.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql12","purl":"pkg:rpm/suse/postgresql12\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0450-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["13.10-150200.5.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql13","purl":"pkg:rpm/suse/postgresql13\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0583-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["14.7-150200.5.23.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0705-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["15.2-150200.5.6.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0569-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["12.14-150200.8.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql12","purl":"pkg:rpm/suse/postgresql12\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0450-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["13.10-150200.5.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql13","purl":"pkg:rpm/suse/postgresql13\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0583-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["14.7-150200.5.23.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0705-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["15.2-150200.5.6.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0569-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["12.14-150200.8.41.1"],"introduced":["0"],"last_affected":[],"package":"postgresql12","purl":"pkg:rpm/suse/postgresql12\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0450-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["13.10-150200.5.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql13","purl":"pkg:rpm/suse/postgresql13\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0583-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["14.7-150200.5.23.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0705-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["15.2-150200.5.6.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0569-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["14.7-150200.5.23.1"],"introduced":["0"],"last_affected":[],"package":"postgresql14","purl":"pkg:rpm/suse/postgresql14\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:0705-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["15.2-150200.5.6.1"],"introduced":["0"],"last_affected":[],"package":"postgresql15","purl":"pkg:rpm/suse/postgresql15\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:0569-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Legacy 15 SP4","fixed":["13.10-150200.5.37.1"],"introduced":["0"],"last_affected":[],"package":"postgresql13","purl":"pkg:rpm/suse/postgresql13\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP4","source":"SUSE-SU-2023:0583-1"}],"prev":{"headline":"Denial of service in freeradius","id":"CVE-2022-41861"},"products":["postgresql"],"published":"2023-03-03","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-07","vendors":["n/a"]},"summary":"A malicious server can cause libpq clients to leak uninitialized memory bytes during Kerberos authentication, potentially exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2022-41862/"}