Skip to content

[GHSA-h5x4-m2qf-r4f2] Diesel's SQLite backend has possible UTF-8 corruption#7674

Open
weiznich wants to merge 1 commit into
weiznich/advisory-improvement-7674from
weiznich-GHSA-h5x4-m2qf-r4f2
Open

[GHSA-h5x4-m2qf-r4f2] Diesel's SQLite backend has possible UTF-8 corruption#7674
weiznich wants to merge 1 commit into
weiznich/advisory-improvement-7674from
weiznich-GHSA-h5x4-m2qf-r4f2

Conversation

@weiznich
Copy link
Copy Markdown

Updates

  • CVSS v4
  • CWEs
  • Severity

Comments
This is no SQL injection, but an broken safety invariant while deserializing data coming from the database.

Any attacker would need to have arbitrary write access to the database so that they can insert arbitrary binary data into a column where the application code using diesel expects an UTF-8 string. That usually requires that the attacker circumvents the normal way to insert data into this field as it can be assumed that almost always a string (that is utf-8) is used for that purpose. Based on this I suggest to change Attack Requirements (AT) to present and also Integrity to none (as there is no way that I'm aware of to use this to actually modify data as everything happens during deserialization)

Copilot AI review requested due to automatic review settings May 12, 2026 11:28
@github-actions github-actions Bot changed the base branch from main to weiznich/advisory-improvement-7674 May 12, 2026 11:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub-reviewed advisory record for GHSA-h5x4-m2qf-r4f2 (Diesel SQLite UTF-8 corruption) to reflect revised severity classification metadata (CVSS v4 vector, CWE list, and GitHub “severity”).

Changes:

  • Updates the CVSS v4 vector (notably AT and impact metrics).
  • Removes the previously assigned CWE (CWE-89) and sets cwe_ids to an empty list.
  • Lowers database_specific.severity from HIGH to LOW.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 10 to 13
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N"
}
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 don't think this correct, given the requirements to trigger this at all.

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