Skip to content

Token revokation incorrectly ignores storage errors

Low
aeneasr published GHSA-7mqr-2v3q-v2wm Sep 24, 2020

Package

No package listed

Affected versions

<=v0.33.0

Patched versions

v0.34.0

Description

Impact

The TokenRevocationHandler ignores errors coming from the storage. This can lead to unexpected 200 status codes indicating successful revocation while the token is still valid. Whether an attacker can use this for her advantage depends on the ability to trigger errors in the store.

Patches

The next release will patch this.

Workarounds

None.

References

RFC 7009 states that a 503 HTTP code must be returned when the server has a problem.

Severity

Low

CVE ID

CVE-2020-15223

Weaknesses

No CWEs

Credits