Skip to content

Fix CVE: Replace SQLitePCLRaw packages vulnerable to GHSA-2m69-gcr7-jv3q - #37

Open
bkwatt wants to merge 4 commits into
Esri:mainfrom
bkwatt:fix-sqlite-vuln
Open

Fix CVE: Replace SQLitePCLRaw packages vulnerable to GHSA-2m69-gcr7-jv3q#37
bkwatt wants to merge 4 commits into
Esri:mainfrom
bkwatt:fix-sqlite-vuln

Conversation

@bkwatt

@bkwatt bkwatt commented Jun 26, 2026

Copy link
Copy Markdown

GHSA-2m69-gcr7-jv3q

Replace packages with a transitive dependency on SQLitePCLRaw.lib.e_sqlite3
v2.1.11, which is flagged as vulnerable by GitHub.

bkwatt added 2 commits June 26, 2026 10:43


Replaces packages with a transitive dependency on SQLitePCLRaw.lib.e_sqlite3
v2.1.11, which is flagged as vulnerable by GitHub.

Note: No stable (non-beta) release of sqlite-net-pcl without this dependency
exists at the time of this commit. The beta is used as the best available option.

SQLitePCLRaw.bundle_green has been discontinued by the author
and is not required, as sqlite-net-pcl pulls in the needed dependencies directly.
@bkwatt bkwatt changed the title Fix CVE: Replace SQLitePCLRaw packages vulnerable to https://github.com/advisories/GHSA-2m69-gcr7-jv3q Fix CVE: Replace SQLitePCLRaw packages vulnerable to GHSA-2m69-gcr7-jv3q Jun 26, 2026
@bkwatt

bkwatt commented Jul 1, 2026

Copy link
Copy Markdown
Author

@dotMorten Hi Morten would it be possible to get this package update in?

<PackageReference Include="Microsoft.TestPlatform.Extensions.TrxLogger" Version="17.11.0" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.0" />
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
<PackageReference Include="sqlite-net-pcl" Version="1.11.272-beta" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beta packages should not be used.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found and interesting conversation where ericsink suggested switching to sqlite-net-e.
Would that be acceptable?

@dotMorten

dotMorten commented Jul 1, 2026

Copy link
Copy Markdown

would it be possible to get this package update in?

Instead of waiting for an update (I'm on vacation right now), in your own application you can just explicitly specify the version you want to use as long as it is higher than what mstestx references. Just add this to your own project file:
<PackageReference Include="sqlite-net-pcl" Version="1.11.272-beta" />

SQLitePCLRaw.bundle_green has been discontinued by the author and is not required

It is still being used by the main package. The reason it was explicitly referenced was to get a newer version (basically same reason as what I suggest you do right above), but with the version you're pointing to, it's actually referencing an even newer version, and then yes it isn't necessary to explicitly reference the higher dependency any longer.

Switching to sqlite-net-e as suggested by ericsink here: 

praeclarum/sqlite-net#1307 (comment)

Also switched to SQLitePCLRaw.bundle_e_sqlite3 as SQLitePCLRaw.bundle_green has been deprecated
@bkwatt

bkwatt commented Jul 2, 2026

Copy link
Copy Markdown
Author

Hi @dotMorten sorry for stealing your time while you are on vacation :-)
I have made a suggestion which I believe is the recommended upgrade path at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants