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 when processing path-based scopes in tokens. The library normalizes the scope path from the token before authorization and collapses ".." path components instead of rejecting them. As a result, an attacker can use parent-directory traversal in the scope claim to broaden the effective authorization beyond the intended directory. This issue has been patched in version 1.4.1.
Problem types
CWE-23: Relative Path Traversal
Product status
References
github.com/...ns-cpp/security/advisories/GHSA-rqcx-mc9w-pjxp
github.com/...ommit/7951ed809967d88c00c20de414b1ff74df8c3e08