CVE-2023-23928 reason-jose ignores signature checks

Medium 5.9 Published Updated

Attackers can bypass authentication and escalate privileges by tampering with JWS tokens due to missing signature validation in the reason-jose library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-23928?

CVE-2023-23928 is a medium-severity authentication bypass vulnerability in ulrikstrid reason-jose, published on 1 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

reason-jose is a JOSE implementation in ReasonML and OCaml.`Jose.Jws.validate` does not check HS256 signatures. This allows tampering of JWS header and payload data if the service does not perform additional checks. Such tampering could expose applications using reason-jose to authorization bypass. Applications relying on JWS claims assertion to enforce security boundaries may be vulnerable to privilege escalation. This issue has been patched in version 0.8.2.

Weakness: CWE-347

Which versions are affected by CVE-2023-23928?

It affects 1 product.

Products include Reason-Jose Project Reason-Jose.

How do I fix CVE-2023-23928?

No fix has been published for CVE-2023-23928 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-23928 being exploited?

There is no known exploitation of CVE-2023-23928 in the wild and no public exploit code.

Sources

Also known as GHSA-7jj9-6qwv-wpm7.

Is CVE-2023-23928 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free