[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$frocMOkGWXdT1DYw17KGp4aF5b5TUiCAs8hsvW10foTI":3,"g5a-risk:CVE-2022-31197":176},{"success":4,"data":5,"meta":173},true,{"cveId":6,"title":7,"description":8,"shortDescription":9,"publishedDate":10,"lastModified":11,"cvssScore":12,"cvssVector":13,"cvssMetrics":14,"epssScore":38,"epssPercentile":28,"epssTimeSeries":39,"severity":40,"affectedProducts":41,"affectedProductsCount":66,"references":67,"referencesCount":103,"weaknesses":104,"weaknessesCount":113,"isActivelyExploited":114,"cisaInfo":28,"otxData":28,"relatedBlogPosts":115,"seoMetadata":116,"configurations":141,"relatedVendorCves":171,"notableEvents":172},"CVE-2022-31197","What is CVE-2022-31197?","PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method is not performing escaping of column names so a malicious column name that contains a statement terminator, e.g. `;`, could lead to SQL injection. This could lead to executing additional SQL commands as the application's JDBC user. User applications that do not invoke the `ResultSet.refreshRow()` method are not impacted. User application that do invoke that method are impacted if the underlying database that they are querying via their JDBC application may be under the control of an attacker. The attack requires the attacker to trick the user into executing SQL against a table name who's column names would contain the malicious SQL and subsequently invoke the `refreshRow()` method on the ResultSet. Note that the application's JDBC user and the schema owner need not be the same. A JDBC application that executes as a privileged user querying database schemas owned by potentially malicious less-privileged users would be vulnerable. In that situation it may be possible for the malicious user to craft a schema that causes the application to execute commands as the privileged user. Patched versions will be released as `42.2.26` and `42.4.1`. Users are advised to upgrade. There are no known workarounds for this issue.","PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC...","2022-08-03T19:15:08.63","2025-11-03T22:15:58.603",8,"CVSS:3.1\u002FAV:N\u002FAC:L\u002FPR:L\u002FUI:R\u002FS:U\u002FC:H\u002FI:H\u002FA:H",{"CVSSMetricV31":15,"CVSSMetricV30":36,"CVSSMetricV2":37,"CVSSMetricV40":28},[16,31],{"Source":17,"Type":18,"CVSSData":19,"ExploitabilityScore":29,"ImpactScore":30},"security-advisories@github.com","Secondary",{"Version":20,"VectorString":21,"AttackVector":22,"AttackComplexity":23,"PrivilegesRequired":24,"UserInteraction":25,"Scope":26,"ConfidentialityImpact":23,"IntegrityImpact":23,"AvailabilityImpact":23,"BaseScore":27,"BaseSeverity":23,"ExploitCodeMaturity":28,"RemediationLevel":28,"ReportConfidence":28,"TemporalScore":28,"TemporalSeverity":28,"ConfidentialityRequirement":28,"IntegrityRequirement":28,"AvailabilityRequirement":28,"ModifiedAttackVector":28,"ModifiedAttackComplexity":28,"ModifiedPrivilegesRequired":28,"ModifiedUserInteraction":28,"ModifiedScope":28,"ModifiedConfidentialityImpact":28,"ModifiedIntegrityImpact":28,"ModifiedAvailabilityImpact":28,"EnvironmentalScore":28,"EnvironmentalSeverity":28},"3.1","CVSS:3.1\u002FAV:N\u002FAC:H\u002FPR:L\u002FUI:R\u002FS:U\u002FC:H\u002FI:H\u002FA:H","NETWORK","HIGH","LOW","REQUIRED","UNCHANGED",7.1,null,1.2,5.9,{"Source":32,"Type":33,"CVSSData":34,"ExploitabilityScore":35,"ImpactScore":30},"nvd@nist.gov","Primary",{"Version":20,"VectorString":13,"AttackVector":22,"AttackComplexity":24,"PrivilegesRequired":24,"UserInteraction":25,"Scope":26,"ConfidentialityImpact":23,"IntegrityImpact":23,"AvailabilityImpact":23,"BaseScore":12,"BaseSeverity":23,"ExploitCodeMaturity":28,"RemediationLevel":28,"ReportConfidence":28,"TemporalScore":28,"TemporalSeverity":28,"ConfidentialityRequirement":28,"IntegrityRequirement":28,"AvailabilityRequirement":28,"ModifiedAttackVector":28,"ModifiedAttackComplexity":28,"ModifiedPrivilegesRequired":28,"ModifiedUserInteraction":28,"ModifiedScope":28,"ModifiedConfidentialityImpact":28,"ModifiedIntegrityImpact":28,"ModifiedAvailabilityImpact":28,"EnvironmentalScore":28,"EnvironmentalSeverity":28},2.1,[],[],0.02225,[38,38,38,38,38,38,38],"High",[42,47,50,53,58,63],{"vendor":43,"product":44,"version":45,"criteria":46,"vulnerable":4},"postgresql","postgresql_jdbc_driver","*","cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*",{"vendor":43,"product":44,"version":48,"criteria":49,"vulnerable":4},"42.4.0","cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.4.0:-:*:*:*:*:*:*",{"vendor":43,"product":44,"version":51,"criteria":52,"vulnerable":4},"42.4.1","cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.4.1:rc1:*:*:*:*:*:*",{"vendor":54,"product":55,"version":56,"criteria":57,"vulnerable":4},"debian","debian_linux","10.0","cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",{"vendor":59,"product":60,"version":61,"criteria":62,"vulnerable":4},"fedoraproject","fedora","35","cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",{"vendor":59,"product":60,"version":64,"criteria":65,"vulnerable":4},"36","cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",6,[68,74,78,83,87,90,92,94,96,99,101],{"url":69,"source":70,"tags":71},"https:\u002F\u002Fgithub.com\u002Fpgjdbc\u002Fpgjdbc\u002Fcommit\u002F739e599d52ad80f8dcd6efedc6157859b1a9d637","GitHub",[72,73],"Patch","Third Party Advisory",{"url":75,"source":70,"tags":76},"https:\u002F\u002Fgithub.com\u002Fpgjdbc\u002Fpgjdbc\u002Fsecurity\u002Fadvisories\u002FGHSA-r38f-c4h4-hqq2",[77,73],"Exploit",{"url":79,"source":80,"tags":81},"https:\u002F\u002Flists.debian.org\u002Fdebian-lts-announce\u002F2022\u002F10\u002Fmsg00009.html","Debian",[82,73],"Mailing List",{"url":84,"source":85,"tags":86},"https:\u002F\u002Flists.fedoraproject.org\u002Farchives\u002Flist\u002Fpackage-announce%40lists.fedoraproject.org\u002Fmessage\u002FI6WHUADTZBBQLVHO4YG4XCWDGWBT4LRP\u002F","Fedoraproject",[],{"url":88,"source":85,"tags":89},"https:\u002F\u002Flists.fedoraproject.org\u002Farchives\u002Flist\u002Fpackage-announce%40lists.fedoraproject.org\u002Fmessage\u002FUTFE6SV33P5YYU2GNTQZQKQRVR3GYE4S\u002F",[],{"url":69,"source":70,"tags":91},[72,73],{"url":75,"source":70,"tags":93},[77,73],{"url":79,"source":80,"tags":95},[82,73],{"url":97,"source":80,"tags":98},"https:\u002F\u002Flists.debian.org\u002Fdebian-lts-announce\u002F2024\u002F12\u002Fmsg00017.html",[],{"url":84,"source":85,"tags":100},[],{"url":88,"source":85,"tags":102},[],11,[105],{"id":106,"name":107,"description":108,"extendedDescription":109,"status":110,"abstraction":111,"structure":112},"CWE-89","Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","","Stable","Base","Simple",1,false,[],{"title":117,"metaDescription":118,"keywords":119,"canonicalUrl":120,"structuredData":121},"What is CVE-2022-31197? Vulnerability Analysis | Security Advisory | Precursor Intelligence","Comprehensive analysis of CVE-2022-31197, a high severity cyber security vulnerability from 2022. PostgreSQL JDBC Driver (PgJDBC for short) allows Java progr...","CVE-2022-31197, CVE-2022-31197 vulnerability, CVE-2022-31197 security, high severity vulnerability, cybersecurity, vulnerability analysis, security advisory, CVE database, threat intelligence, security research, vulnerability assessment, cyber threats, 2022, CVSS score, exploit, patch, remediation, postgresql security, debian security, fedoraproject security, postgresql_jdbc_driver vulnerability, debian_linux vulnerability, fedora vulnerability","\u002Fwhat-is\u002Fcve-2022-31197",{"@context":122,"@type":123,"headline":117,"description":118,"datePublished":10,"dateModified":11,"author":124,"publisher":128,"about":132,"mainEntityOfPage":136,"articleSection":139,"keywords":140},"https:\u002F\u002Fschema.org","TechArticle",{"@type":125,"name":126,"url":127},"Organization","Precursor Intelligence","https:\u002F\u002Fprecursorintelligence.com",{"@type":125,"name":126,"url":127,"logo":129},{"@type":130,"url":131},"ImageObject","https:\u002F\u002Fprecursorintelligence.com\u002Fimg\u002Flogos\u002Feplogo.png",{"@type":133,"name":6,"description":134,"additionalType":135},"Thing","Cybersecurity Vulnerability","https:\u002F\u002Fschema.org\u002FSoftwareBug",{"@type":137,"@id":138},"WebPage","https:\u002F\u002Fprecursorintelligence.com\u002Fwhat-is\u002Fcve-2022-31197","Cybersecurity","CVE-2022-31197, CVE-2022-31197 vulnerability, CVE-2022-31197 security, high severity vulnerability, cybersecurity, vulnerability analysis, security advisory, CVE database, threat intelligence, security research",[142,161],{"Operator":28,"Negate":28,"Nodes":143},[144],{"Operator":145,"Negate":114,"CPEMatch":146},"OR",[147,150,154,156,159],{"Vulnerable":4,"Criteria":46,"MatchCriteriaID":148,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":149,"VersionEndIncluding":28},"A4B4125F-2B70-4892-85C9-6226E5CD21C8","42.2.26",{"Vulnerable":4,"Criteria":46,"MatchCriteriaID":151,"VersionStartExcluding":28,"VersionStartIncluding":152,"VersionEndExcluding":153,"VersionEndIncluding":28},"646150E7-E010-4542-AA3D-EEC004B6DDCA","42.3.0","42.3.7",{"Vulnerable":4,"Criteria":49,"MatchCriteriaID":155,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":28,"VersionEndIncluding":28},"CD82823E-2E47-443C-B931-FBD07CE2EAF0",{"Vulnerable":4,"Criteria":157,"MatchCriteriaID":158,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":28,"VersionEndIncluding":28},"cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.4.0:rc1:*:*:*:*:*:*","7033FDFD-F6C7-4222-B7F5-CFDD767F6B93",{"Vulnerable":4,"Criteria":52,"MatchCriteriaID":160,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":28,"VersionEndIncluding":28},"C99075C4-A49C-4ED5-9208-9B397094E476",{"Operator":28,"Negate":28,"Nodes":162},[163],{"Operator":145,"Negate":114,"CPEMatch":164},[165,167,169],{"Vulnerable":4,"Criteria":57,"MatchCriteriaID":166,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":28,"VersionEndIncluding":28},"07B237A9-69A3-4A9C-9DA0-4E06BD37AE73",{"Vulnerable":4,"Criteria":62,"MatchCriteriaID":168,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":28,"VersionEndIncluding":28},"80E516C0-98A4-4ADE-B69F-66A772E2BAAA",{"Vulnerable":4,"Criteria":65,"MatchCriteriaID":170,"VersionStartExcluding":28,"VersionStartIncluding":28,"VersionEndExcluding":28,"VersionEndIncluding":28},"5C675112-476C-4D7C-BCB9-A2FB2D0BC9FD",[],[],{"lastModified":11,"cacheTime":174,"version":175},1792356184857,"2.0",{"score":177,"band":178,"action":179,"scoredAt":180},49,"Medium","Plan remediation","2026-10-16T06:55:18.187238+00:00"]