Description
SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the KeyCache class in scitokens was vulnerable to SQL Injection because it used Python's str.format() to construct SQL queries with user-supplied data (such as issuer and key_id). This allowed an attacker to execute arbitrary SQL commands against the local SQLite database. This issue has been patched in version 1.9.6.
Problem types
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
References
github.com/...tokens/security/advisories/GHSA-rh5m-2482-966c
github.com/...tokens/security/advisories/GHSA-rh5m-2482-966c
github.com/...ommit/3dba108853f2f4a6c0f2325c03779bf083c41cf2
github.com/scitokens/scitokens/releases/tag/v1.9.6