CVE-2021-32163 Privilege escalation in MOSN

Critical 9.8 Published Updated

Attackers can escalate privileges in MOSN by exploiting case-sensitive JWT authorization checks, requiring an upgrade to secure the service mesh.

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

What is CVE-2021-32163?

CVE-2021-32163 is a critical authentication bypass vulnerability in n/a, published on 17 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Authentication vulnerability in MOSN v.0.23.0 allows attacker to escalate privileges via case-sensitive JWT authorization.

Weakness: CWE-863

Which versions are affected by CVE-2021-32163?

3 open source packages ship an affected version, including mosn.io/mosn. It affects 1 product.

PackageAffectedFixed in
mosn.io/mosn GoAll versions0.23.0
mosn.io/mosn GoAll versions0.23.0
mosn.io/mosn GoAll versions0.23.0

Products include Linuxfoundation Modular Open Smart Network.

How do I fix CVE-2021-32163?

Upgrade mosn.io/mosn to 0.23.0 or later.

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

Is CVE-2021-32163 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-32163 exists.

Sources

Also known as GHSA-5vx9-j5cw-47vq, GO-2023-1582.

Is CVE-2021-32163 in your software?

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

Check your SBOMs for free