Closed mend-bolt-for-github[bot] closed 5 months 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.
CVE-2024-32655 - High Severity Vulnerability
Vulnerable Library - npgsql.8.0.2.nupkg
Npgsql is the open source .NET data provider for PostgreSQL.
Library home page: https://api.nuget.org/packages/npgsql.8.0.2.nupkg
Path to dependency file: /src/DbLocalizationProvider.Storage.PostgreSQL/DbLocalizationProvider.Storage.PostgreSql.csproj
Path to vulnerable library: /home/wss-scanner/.nuget/packages/npgsql/8.0.2/npgsql.8.0.2.nupkg
Dependency Hierarchy: - :x: **npgsql.8.0.2.nupkg** (Vulnerable Library)
Found in HEAD commit: 64ca3f30fa3a7d2bb8b419ebe8642aa45fea045d
Found in base branch: master
Vulnerability Details
Npgsql is the .NET data provider for PostgreSQL. In 8.0.2 and earlier, The `WriteBind()` method in `src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs` uses `int` variables to store the message length and the sum of parameter lengths. Both variables overflow when the sum of parameter lengths becomes too large. This causes Npgsql to write a message size that is too small when constructing a Postgres protocol message to send it over the network to the database. When parsing the message, the database will only read a small number of bytes and treat any following bytes as new messages while they belong to the old message. Attackers can abuse this to inject arbitrary Postgres protocol messages into the connection, leading to the execution of arbitrary SQL statements on the application's behalf.
Publish Date: 2024-05-09
URL: CVE-2024-32655
CVSS 3 Score Details (8.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - 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-32655
Release Date: 2024-05-09
Fix Resolution: Npgsql - 4.0.14,4.1.13,5.0.18,6.0.11,7.0.7,8.0.3
Step up your Open Source Security Game with Mend here