CVE-2022-26520
CRITICAL9.8EPSS 1.3%Path traversal in org.postgresql:postgresql
發布日:2022/2/16修改日:2026/3/16
描述
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.
受影響套件(4)
- Bitnami/postgresql-jdbc-driver>= 42.1.0, < 42.1.5, >= 42.3.0, < 42.3.3
- Debian/libpgjavafrom 0, < 42.2.15-1+deb11u1
- Maven/org.postgresql:postgresql>= 42.1.0, < 42.3.3
- Maven/org.postgresql:postgresql>= 42.1.0, < 42.3.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-26520
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-26520
- PATCHhttps://github.com/pgjdbc/pgjdbc
- WEBhttps://github.com/pgjdbc/pgjdbc/commit/f6d47034a4ce292e1a659fa00963f6f713117064
- WEBhttps://github.com/pgjdbc/pgjdbc/pull/2454/commits/017b929977b4f85795f9ad2fa5de6e80978b8ccc
- WEBhttps://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-673j-qm5f-xpv8
- WEBhttps://jdbc.postgresql.org/documentation/changelog.html#version_42.3.3
- WEBhttps://jdbc.postgresql.org/documentation/head/tomcat.html
- WEBhttps://www.debian.org/security/2022/dsa-5196