CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.postgresql:postgresql 42.2.27, 42.3.8, 42.4.3.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Norg.postgresql:postgresql (Maven): fixed in 42.2.27, 42.3.8, 42.4.3, 42.5.1Explain CVE-2022-41946 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41946?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41946?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41946 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| postgresql:postgresql_jdbc_driver | from 42.2.0 before 42.2.27 |
| postgresql:postgresql_jdbc_driver | from 42.3.0 before 42.3.8 |
| postgresql:postgresql_jdbc_driver | from 42.4.0 before 42.4.3 |
| postgresql:postgresql_jdbc_driver | 42.5.0 |
| postgresql:postgresql_jdbc_driver | 42.5.0:rc1 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-562r-vg33-8x8h | Maven | org.postgresql:postgresql | >=42.2.0 <42.2.27 | 42.2.27 |
| GHSA-562r-vg33-8x8h | Maven | org.postgresql:postgresql | >=42.3.0 <42.3.8 | 42.3.8 |
| GHSA-562r-vg33-8x8h | Maven | org.postgresql:postgresql | >=42.4.0 <42.4.3 | 42.4.3 |
| GHSA-562r-vg33-8x8h | Maven | org.postgresql:postgresql | >=42.5.0 <42.5.1 | 42.5.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | libpgjava | 42.2.5-2+deb10u3 | DLA-3218-1 |
| Debian | 11 | libpgjava | 42.2.15-1+deb11u2 | DLA-3995-1 |
| Debian | 12, 13, 14 | libpgjava | 42.5.1-1 | DEBIAN-CVE-2022-41946 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 22.04:LTS and 6 more | libpgjava | no fix listed | UBUNTU-CVE-2022-41946 |
| Red Hat | enterprise_linux:8::appstream | postgresql-jdbc, postgresql-jdbc-javadoc | 0:42.2.14-2.el8 | RHSA-2023:2867 |
| Red Hat | enterprise_linux:9::appstream | postgresql-jdbc | 0:42.2.27-1.el9 | RHSA-2023:2378 |
| Red Hat | rhev_hypervisor:4.4::el8, rhev_manager:4.4:el8 | ovirt-ansible-collection | 0:2.4.2-1.el8ev | RHSA-2023:0759 |
| Red Hat | rhev_manager:4.4:el8 | postgresql-jdbc, postgresql-jdbc-javadoc | 0:42.2.14-2.el8ev | RHSA-2023:0759 |
| Red Hat | rhev_manager:4.4:el8 | rhvm, ovirt-engine, ovirt-engine-setup and 17 more | 0:4.5.3.7-1.el8ev | RHSA-2023:0759 |
| Red Hat | satellite:6.12::el8 | candlepin, candlepin-selinux | 0:4.1.20-1.el8sat | RHSA-2023:1630 |
| Red Hat | satellite:6.13::el8 | foreman-obsolete-packages | 0:1.1-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | postgresql-evr | 0:0.0.2-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | python-websockify, python3-websockify | 0:0.10.0-3.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | qpid-dispatch, qpid-dispatch-tools, qpid-dispatch-router and 2 more | 0:1.14.0-6.el8 | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | qpid-proton, qpid-proton-c, python3-qpid-proton and 5 more | 0:0.33.0-4.el8 | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-acts_as_list | 0:1.0.3-2.el8sat | RHSA-2023:2097 |
| 194 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Server Applications 15 SP4 | postgresql-jdbc | 42.2.25-150400.3.9.2 | SUSE-SU-2023:0103-1 |
| SUSE | Linux Enterprise Real Time 15 SP3, Manager Server Module 4.2 | postgresql-jdbc | 42.2.25-150300.3.11.2 | SUSE-SU-2023:0451-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | postgresql-jdbc | 9.4-3.9.1 | SUSE-SU-2023:0104-1 |
| openSUSE | Leap 15.4 | postgresql-jdbc | 42.2.25-150400.3.9.2 | SUSE-SU-2023:0103-1 |
| AlmaLinux | 8 | postgresql-jdbc, postgresql-jdbc-javadoc | 42.2.14-2.el8 | ALSA-2023:2867 |
| AlmaLinux | 9 | postgresql-jdbc | 42.2.27-1.el9 | ALSA-2023:2378 |
| Alpine | v3.17, v3.18, v3.19 and 5 more | java-postgresql-jdbc | 42.5.1-r0 | ALPINE-CVE-2022-41946 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Red Hat Satellite ships a PostgreSQL JDBC Driver for Hibernate ORM framework, which is embeds into Candlepin. Although Candlepin itself doesn't make direct use of the PreparedStatement methods from the PostgreSQL JDBC Driver, Hibernate ORM does utilize these methods, potentially making framework affected. Satellite server operating in an environment with untrusted users while the driver is running are vulnerable to the flaw, however, deployments without untrusted users are considered safe. A future Satellite update should address this issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| CEQ 2.13.2-1 | Fixed 2023-02-21 | RHSA-2023:0888 | |
| Red Hat build of Quarkus | Fixed 2023-02-14 | RHSA-2023:0758 | |
| Red Hat build of Quarkus 2.7.7 | jdbc-postgresql | Fixed 2023-03-08 | RHSA-2023:1006 |
| Red Hat Enterprise Linux 8 | postgresql-jdbc-0:42.2.14-2.el8 | Fixed 2023-05-16 | RHSA-2023:2867 |
| Red Hat Enterprise Linux 9 | postgresql-jdbc-0:42.2.27-1.el9 | Fixed 2023-05-09 | RHSA-2023:2378 |
| Red Hat Fuse 7.12 | jdbc-postgresql | Fixed 2023-06-29 | RHSA-2023:3954 |
| Red Hat Satellite 6.12 for RHEL 8 | candlepin-0:4.1.20-1.el8sat | Fixed 2023-04-04 | RHSA-2023:1630 |
| Red Hat Satellite 6.13 for RHEL 8 | candlepin-0:4.2.13-1.el8sat | Fixed 2023-05-03 | RHSA-2023:2097 |
| RHINT Camel-K-1.10.1 | jdbc-postgresql | Fixed 2023-06-28 | RHSA-2023:3906 |
| RHINT Camel-Q 2.7-1 | jdbc-postgresql | Fixed 2023-03-09 | RHSA-2023:1177 |
| RHINT Debezium 2.1.4 | postgresql-jdbc | Fixed 2023-04-17 | RHSA-2023:1815 |
| Red Hat build of Apicurio Registry 2 | jdbc-postgresql | Not affected | |
| Red Hat Enterprise Linux 6 | postgresql-jdbc | Out of support scope | |
| Red Hat Enterprise Linux 7 | postgresql-jdbc | Out of support scope | |
| Red Hat Enterprise Linux 8 | libreoffice:flatpak/postgresql-jdbc | Will not fix | |
| Red Hat Enterprise Linux 9 | libreoffice:flatpak/postgresql-jdbc | Affected | |
| Red Hat Process Automation 7 | jdbc-postgresql | Out of support scope | |
| Red Hat Virtualization 4 | postgresql-jdbc | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-41946.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).