Description
SciTokens C++ is a minimal library for creating and using SciTokens from C or C++. Prior to version 1.4.1, scitokens-cpp is vulnerable to an authorization bypass in path-based scope validation. The enforcer used a simple string-prefix comparison when checking whether a requested resource path was covered by a token's authorized scope path. Because the check did not require a path-segment boundary, a token scoped to one path could incorrectly authorize access to sibling paths that merely started with the same prefix. This issue has been patched in version 1.4.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| scitokens | scitokens-cpp | < 1.4.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | scitokens-cpp | 1.4.1-1 | — |
| Debian 13 | scitokens-cpp | No fix yet | — |
| Debian 12 | scitokens-cpp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | scitokens-cpp | No fix yet | — |
| Ubuntu 26.04 LTS | scitokens-cpp | No fix yet | — |
| Ubuntu 25.10 | scitokens-cpp | No fix yet | — |
| Ubuntu 24.04 LTS | scitokens-cpp | No fix yet | — |
| Ubuntu 22.04 LTS | scitokens-cpp | No fix yet | — |