GHSA-4rr6-gf59-ggw5 namshi/jose - Verification bypass

Not scored Published

Attackers can bypass JWT verification using asymmetric keys, allowing unauthorized access to protected resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-4rr6-gf59-ggw5?

GHSA-4rr6-gf59-ggw5 is an authentication bypass vulnerability in namshi/jose, published on 17 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Several widely-used JSON Web Token (JWT) libraries, including node-jsonwebtoken, pyjwt, namshi/jose, php-jwt, and jsjwt, are affected by critical vulnerabilities that could allow attackers to bypass the verification step when using asymmetric keys (RS256, RS384, RS512, ES256, ES384, ES512).

Which versions are affected by GHSA-4rr6-gf59-ggw5?

2 open source packages ship an affected version, including namshi/jose.

PackageAffectedFixed in
namshi/jose PackagistAll versions2.2.0
namshi/jose PackagistAll versions2.2.0

How do I fix GHSA-4rr6-gf59-ggw5?

Upgrade namshi/jose to 2.2.0 or later.

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

Is GHSA-4rr6-gf59-ggw5 being exploited?

There is no known exploitation of GHSA-4rr6-gf59-ggw5 in the wild and no public exploit code.

Sources

Is GHSA-4rr6-gf59-ggw5 in your software?

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

Check your SBOMs for free