Skip to content

bonsai-pay does not validate the expiration date of OIDC JWT responses

Moderate
kevinnassery published GHSA-m9r5-6wx3-g33h Nov 15, 2023

Package

bonsai-pay

Affected versions

all version

Patched versions

all versions

Description

Impact

The OIDC validation within the bonsai-pay application does not sufficiently validate OIDC JWT responses. Currently, only the claim structure and signature against the key are validated which can lead to issues related to the expiration of identity attestations.

At a minimum proving and claiming is possible using an expired token.

Patches

There is no current patch for this validation issue.

Workarounds

Do not use bonsai pay in a production capacity without thorough security analysis and increased OIDC validation.

Severity

Moderate

CVE ID

No known CVE

Weaknesses

No CWEs