gittuf file protection bypass in escaped pathname verification
gittuf
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gittuf gittuf |
| No fix yet |
Original description
In gittuf before 0.18.0, verification of file protection rules uses the quoted, escaped pathnames that Git prints by default for files with special characters (for example non-ASCII characters) instead of the raw paths. Such paths do not match patterns like file:internal/*, so the files are treated as unprotected, and a user who is not authorized by a file protection rule can change a protected file whose name contains special characters and still pass verification.
From the CVE record · Akrites