CNVD-2022-86393
Vulnerability from cnvd - Published: 2022-12-06
VLAI
Title
PostgreSQL JDBC Drive信息泄露漏洞
Description
PostgreSQL JDBC Driver是一个用Pure Java(Type 4)编写的开源JDBC驱动程序,用于PostgreSQL本地网络协议中进行通信。
PostgreSQL JDBC Driver存在信息泄露漏洞。该漏洞源于输入流大于2k,则使用 PreparedStatement.setText(int,InputStream)或 PreparedStatemet.setBytea(int,InputStream)的预处理语句将创建一个临时文件。攻击者可利用漏洞获取敏感信息。
Severity
中
Patch Name
PostgreSQL JDBC Drive信息泄露漏洞的补丁
Patch Description
PostgreSQL JDBC Driver是一个用Pure Java(Type 4)编写的开源JDBC驱动程序,用于PostgreSQL本地网络协议中进行通信。
PostgreSQL JDBC Driver存在信息泄露漏洞。该漏洞源于输入流大于2k,则使用 PreparedStatement.setText(int,InputStream)或 PreparedStatemet.setBytea(int,InputStream)的预处理语句将创建一个临时文件。攻击者可利用漏洞获取敏感信息。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/pgjdbc/pgjdbc/commit/9008dc9aade6dbfe4efafcd6872ebc55f4699cf5
Reference
https://github.com/pgjdbc/pgjdbc/commit/9008dc9aade6dbfe4efafcd6872ebc55f4699cf5
Impacted products
| Name | ['Postgresql postgresql_jdbc_driver >=42.2.0,<42.2.27', 'Postgresql postgresql_jdbc_driver >=42.3.0,<42.3.8', 'Postgresql postgresql_jdbc_driver >=42.4.0,<42.4.3', 'Postgresql postgresql_jdbc_driver 42.5.0', 'Postgresql postgresql_jdbc_driver 42.5.0 rc1'] |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2022-41946",
"cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2022-41946"
}
},
"description": "PostgreSQL JDBC Driver\u662f\u4e00\u4e2a\u7528Pure Java(Type 4)\u7f16\u5199\u7684\u5f00\u6e90JDBC\u9a71\u52a8\u7a0b\u5e8f\uff0c\u7528\u4e8ePostgreSQL\u672c\u5730\u7f51\u7edc\u534f\u8bae\u4e2d\u8fdb\u884c\u901a\u4fe1\u3002\n\nPostgreSQL JDBC Driver\u5b58\u5728\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u8f93\u5165\u6d41\u5927\u4e8e2k\uff0c\u5219\u4f7f\u7528 PreparedStatement.setText(int\uff0cInputStream)\u6216 PreparedStatemet.setBytea(int\uff0cInputStream)\u7684\u9884\u5904\u7406\u8bed\u53e5\u5c06\u521b\u5efa\u4e00\u4e2a\u4e34\u65f6\u6587\u4ef6\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u6f0f\u6d1e\u83b7\u53d6\u654f\u611f\u4fe1\u606f\u3002",
"formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://github.com/pgjdbc/pgjdbc/commit/9008dc9aade6dbfe4efafcd6872ebc55f4699cf5",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2022-86393",
"openTime": "2022-12-06",
"patchDescription": "PostgreSQL JDBC Driver\u662f\u4e00\u4e2a\u7528Pure Java(Type 4)\u7f16\u5199\u7684\u5f00\u6e90JDBC\u9a71\u52a8\u7a0b\u5e8f\uff0c\u7528\u4e8ePostgreSQL\u672c\u5730\u7f51\u7edc\u534f\u8bae\u4e2d\u8fdb\u884c\u901a\u4fe1\u3002\r\n\r\nPostgreSQL JDBC Driver\u5b58\u5728\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u8f93\u5165\u6d41\u5927\u4e8e2k\uff0c\u5219\u4f7f\u7528 PreparedStatement.setText(int\uff0cInputStream)\u6216 PreparedStatemet.setBytea(int\uff0cInputStream)\u7684\u9884\u5904\u7406\u8bed\u53e5\u5c06\u521b\u5efa\u4e00\u4e2a\u4e34\u65f6\u6587\u4ef6\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u6f0f\u6d1e\u83b7\u53d6\u654f\u611f\u4fe1\u606f\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
"patchName": "PostgreSQL JDBC Drive\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": [
"Postgresql postgresql_jdbc_driver \u003e=42.2.0\uff0c\u003c42.2.27",
"Postgresql postgresql_jdbc_driver \u003e=42.3.0\uff0c\u003c42.3.8",
"Postgresql postgresql_jdbc_driver \u003e=42.4.0\uff0c\u003c42.4.3",
"Postgresql postgresql_jdbc_driver 42.5.0",
"Postgresql postgresql_jdbc_driver 42.5.0 rc1"
]
},
"referenceLink": "https://github.com/pgjdbc/pgjdbc/commit/9008dc9aade6dbfe4efafcd6872ebc55f4699cf5",
"serverity": "\u4e2d",
"submitTime": "2022-11-25",
"title": "PostgreSQL JDBC Drive\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e"
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.