ls1intum / prompt

PROMPT is a support tool designed to assist program management in project-based courses
9 stars 1 forks source link

postgresql-42.6.0.jar: 1 vulnerabilities (highest severity is: 10.0) - autoclosed #704

Closed mend-bolt-for-github[bot] closed 2 hours ago

mend-bolt-for-github[bot] commented 2 hours ago
Vulnerable Library - postgresql-42.6.0.jar

PostgreSQL JDBC Driver Postgresql

Library home page: https://jdbc.postgresql.org/

Path to dependency file: /server/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.postgresql/postgresql/42.6.0/7614cfce466145b84972781ab0079b8dea49e363/postgresql-42.6.0.jar

Found in HEAD commit: 75169a3f4888e7947e09182918b12f8ab665d48f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (postgresql version) Remediation Possible**
CVE-2024-1597 Critical 10.0 postgresql-42.6.0.jar Direct 42.6.1

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-1597 ### Vulnerable Library - postgresql-42.6.0.jar

PostgreSQL JDBC Driver Postgresql

Library home page: https://jdbc.postgresql.org/

Path to dependency file: /server/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.postgresql/postgresql/42.6.0/7614cfce466145b84972781ab0079b8dea49e363/postgresql-42.6.0.jar

Dependency Hierarchy: - :x: **postgresql-42.6.0.jar** (Vulnerable Library)

Found in HEAD commit: 75169a3f4888e7947e09182918b12f8ab665d48f

Found in base branch: main

### Vulnerability Details

pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected.

Publish Date: 2024-02-19

URL: CVE-2024-1597

### CVSS 3 Score Details (10.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-1597

Release Date: 2024-02-19

Fix Resolution: 42.6.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 2 hours ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.