Merge pull request #19738 from owen-mc/pr/felickz/19530

Set CWE-134 from 9.3 to 7.3 CVSS score for memory safe languages (#2)
This commit is contained in:
Owen Mansel-Chan
2025-06-12 10:27:28 +01:00
committed by GitHub
6 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
---
category: queryMetadata
---
* Adjusts the `@security-severity` from 9.3 to 7.3 for `swift/uncontrolled-format-string` to align `CWE-134` severity for memory safe languages to better reflect their impact.

View File

@@ -3,7 +3,7 @@
* @description Using external input in format strings can lead to exceptions or information leaks.
* @kind path-problem
* @problem.severity error
* @security-severity 9.3
* @security-severity 7.3
* @precision high
* @id swift/uncontrolled-format-string
* @tags security