Forum Discussion
npgsql 4.0.10.0 not safe ?
- 1 year ago
Hi Flyn -Try creating an environment variable or system path to explicitly point to the latest Npgsql version installed on your system.You could also consult your IT team to ensure Power BI configuration files (e.g., pbix files) are updated to work with newer drivers.
By upgrading and configuring your connection carefully, you should be able to mitigate the risks without having to revert to vulnerable versions of Npgsql.
Npgsql - .NET Access to PostgreSQL | Npgsql Documentation
this may stem from the fact that certain applications or environments are configured to recognize only specific driver versions. While version 4.0.10 and earlier versions are considered vulnerable, installing a patched or later version of Npgsql (e.g., 4.1.x or higher) should resolve these vulnerabilities.
Hope this information helps.
Hi Flyn ,
For Power BI Desktop versions released before December 2019, you must install the NpgSQL provider on your local computer. However, after this date, NpgSQL 4.0.10 is shipped with Power BI Desktop and does not require an additional installation.
You can refer to below document:
Power Query PostgreSQL connector - Power Query | Microsoft Learn
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous I'll try the 4.0.14 then if i have trouble i'll go with the 4.0.10. On my oldest computer i had to install manually the 4.0.10 version but since i change my laptop i have to re configure the npsql file