Skip to content

API tokens and session keys can outlive parent #9879

@ammario

Description

@ammario

In:

  • /users/{user}/keys/tokens [post]
  • /users/{user}/keys [post]

we do not ensure that the new token expires before or at the parents' expiry. So, it's possible for an application to escape the user's intended timebox by immediately trading the limited token for an unlimited token.

Metadata

Metadata

Assignees

Labels

bug riskProne to bugssecurityArea: securitystaleThis issue is like stale bread.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions