{"schemaVersion":3,"id":"CVE-2022-26520","aliases":["SUSE-FU-2022:2794-1","SUSE-SU-2022:2655-1","UBUNTU-CVE-2022-26520","DEBIAN-CVE-2022-26520","GHSA-673j-qm5f-xpv8","BIT-postgresql-jdbc-driver-2022-26520","GHSA-727h-hrw8-jg8q"],"status":"published","duplicateOf":null,"title":null,"description":"In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection properties","dates":{"published":"2022-03-07T17:00:37.000Z","modified":"2024-08-03T05:03:32.964Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02999,"percentile":0.87184,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02999},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02999,"percentile":0.87184}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02999,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02999,"percentile":0.87184}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"debian","product":"libpgjava","name":"libpgjava","label":"libpgjava","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libpgjava","purlType":"deb","versions":[{"text":"< 42.3.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.3.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libpgjava","name":"libpgjava","label":"libpgjava","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libpgjava","purlType":"deb","versions":[{"text":"< 42.3.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.3.3-1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 11.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"org.postgresql","product":"postgresql","name":"org.postgresql:postgresql","label":"postgresql","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.postgresql/postgresql","purlType":"maven","versions":[{"text":"≥ 42.1.0, < 42.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 42.1.0, < 42.3.3","eol":null,"hubHref":null},{"vendor":"postgresql","product":"postgresql_jdbc_driver","name":"postgresql jdbc driver","label":"postgresql_jdbc_driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 42.1.0, ≤ 42.1.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 42.3.0, < 42.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 42.1.0, ≤ 42.1.4 | ≥ 42.3.0, < 42.3.3","eol":null,"hubHref":"/vendor/postgresql/postgresql_jdbc_driver"},{"vendor":"opensuse","product":"ongres-scram&distro=openSUSE Leap 15.3","name":"ongres-scram","label":"ongres-scram&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ongres-scram&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 2.1-150300.3.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1-150300.3.3.4","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ongres-stringprep&distro=openSUSE Leap 15.3","name":"ongres-stringprep","label":"ongres-stringprep&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ongres-stringprep&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 1.1-150300.7.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1-150300.7.3.4","eol":null,"hubHref":null},{"vendor":"opensuse","product":"postgresql-jdbc&distro=openSUSE Leap 15.3","name":"postgresql-jdbc","label":"postgresql-jdbc&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/postgresql-jdbc&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 42.2.25-150300.3.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.25-150300.3.5.2","eol":null,"hubHref":null},{"vendor":"opensuse","product":"postgresql-jdbc&distro=openSUSE Leap 15.4","name":"postgresql-jdbc","label":"postgresql-jdbc&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/postgresql-jdbc&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 42.2.25-150400.3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.25-150400.3.3.2","eol":null,"hubHref":null},{"vendor":"suse","product":"ongres-scram&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","name":"ongres-scram","label":"ongres-scram&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ongres-scram&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","purlType":"rpm","versions":[{"text":"< 2.1-150300.3.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1-150300.3.3.4","eol":null,"hubHref":null},{"vendor":"suse","product":"ongres-scram&distro=SUSE Manager Server Module 4.2","name":"ongres-scram","label":"ongres-scram&distro=SUSE Manager Server Module 4.2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ongres-scram&distro=SUSE Manager Server Module 4.2","purlType":"rpm","versions":[{"text":"< 2.1-150300.3.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1-150300.3.3.4","eol":null,"hubHref":null},{"vendor":"suse","product":"ongres-stringprep&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","name":"ongres-stringprep","label":"ongres-stringprep&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ongres-stringprep&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","purlType":"rpm","versions":[{"text":"< 1.1-150300.7.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1-150300.7.3.4","eol":null,"hubHref":null},{"vendor":"suse","product":"ongres-stringprep&distro=SUSE Manager Server Module 4.2","name":"ongres-stringprep","label":"ongres-stringprep&distro=SUSE Manager Server Module 4.2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ongres-stringprep&distro=SUSE Manager Server Module 4.2","purlType":"rpm","versions":[{"text":"< 1.1-150300.7.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1-150300.7.3.4","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","name":"postgresql-jdbc","label":"postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","purlType":"rpm","versions":[{"text":"< 42.2.25-150300.3.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.25-150300.3.5.2","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","name":"postgresql-jdbc","label":"postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 42.2.25-150400.3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.25-150400.3.3.2","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql-jdbc&distro=SUSE Manager Server Module 4.2","name":"postgresql-jdbc","label":"postgresql-jdbc&distro=SUSE Manager Server Module 4.2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql-jdbc&distro=SUSE Manager Server Module 4.2","purlType":"rpm","versions":[{"text":"< 42.2.25-150300.3.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.25-150300.3.5.2","eol":null,"hubHref":null}],"affectedCount":16,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://jdbc.postgresql.org/documentation/changelog.html#version_42.3.3","label":"jdbc.postgresql.org/documentation/changelog.html","hostname":"jdbc.postgresql.org","tags":["X Refsource MISC","WEB","Release Notes","Vendor Advisory"]},{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-673j-qm5f-xpv8","label":"github.com/pgjdbc/pgjdbc/security/advisories/GHSA-673j-qm5f-xpv8","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Third Party Advisory"]},{"url":"https://github.com/pgjdbc/pgjdbc/pull/2454/commits/017b929977b4f85795f9ad2fa5de6e80978b8ccc","label":"github.com/pgjdbc/pgjdbc/pull/2454/commits/017b929977b4f85795f9ad2fa5de6e80978b8ccc","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://jdbc.postgresql.org/documentation/head/tomcat.html","label":"jdbc.postgresql.org/documentation/head/tomcat.html","hostname":"jdbc.postgresql.org","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5196","label":"www.debian.org/security/2022/dsa-5196","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/-2022-2794/suse-fu-20222794-1/","label":"www.suse.com/support/update/announcement/-2022-2794/suse-fu-20222794-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1196693","label":"bugzilla.suse.com/1196693","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1197356","label":"bugzilla.suse.com/1197356","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-26520","label":"www.suse.com/security/cve/CVE-2022-26520","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20222655-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20222655-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-26520","label":"ubuntu.com/security/CVE-2022-26520","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/pgjdbc/pgjdbc/commit/f6d47034a4ce292e1a659fa00963f6f713117064","label":"github.com/pgjdbc/pgjdbc/commit/f6d47034a4ce292e1a659fa00963f6f713117064","hostname":"github.com","tags":["REPORT","WEB"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-26520","label":"www.cve.org/CVERecord?id=CVE-2022-26520","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-26520","label":"security-tracker.debian.org/tracker/CVE-2022-26520","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/pgjdbc/pgjdbc","label":"github.com/pgjdbc/pgjdbc","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26520","label":"nvd.nist.gov/vuln/detail/CVE-2022-26520","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5196-1","SUSE-SU-2022:2143-1","SUSE-SU-2022:2145-1"],"duplicates":[],"related":["SUSE-SU-2022:2143-1","SUSE-SU-2022:2145-1"]},"timeline":[{"kind":"published","date":"2022-03-07T17:00:37.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:03:32.964Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:28:31.477Z","stale":false,"partial":false}}