Skip to content

Conversation

@AndreasReitberger
Copy link
Contributor

This PR updates the LiteDB dependency to its latest version and fixes the security vulnerability. For this, following code needed to be replaced.

this.db.Delete<OfflineEntry>(Query.All());

with

// Only works for v4, v5 see https://github.com/mbdavid/LiteDB/issues/1478
this.db.DeleteMany<OfflineEntry>(_ => true);

Fixed #316
Security: GHSA-3x49-g6rc-c284

This PR updates the `LiteDB` dependency to its latest version and fixes the security vulnerability. For this, following code needed to be replaced.

```cs
this.db.Delete<OfflineEntry>(Query.All());
```

with

```cs
// Only works for v4, v5 see litedb-org/LiteDB#1478
this.db.DeleteMany<OfflineEntry>(_ => true);
```
Fixed step-up-labs#316
Security: GHSA-3x49-g6rc-c284
@bezysoftware bezysoftware merged commit dfbe20c into step-up-labs:master Sep 19, 2023
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.

Fix security vulnerability in LiteDB dependency

2 participants