CVE-2022-23945 Apache ShenYu missing authentication allows gateway registration

High 7.5 Published Updated

Attackers can register malicious gateways without authentication, potentially compromising the Apache ShenYu admin interface and routing traffic.

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

What is CVE-2022-23945?

CVE-2022-23945 is a high-severity missing authorization vulnerability in Apache ShenYu (incubating), published on 25 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Missing authentication on ShenYu Admin when register by HTTP. This issue affected Apache ShenYu 2.4.0 and 2.4.1.

Weakness: CWE-306, CWE-862

Which versions are affected by CVE-2022-23945?

2 open source packages ship an affected version, including org.apache.shenyu:shenyu-common. It affects 1 product.

PackageAffectedFixed in
org.apache.shenyu:shenyu-common MavenFrom 2.4.02.4.2
org.apache.shenyu:shenyu-common MavenFrom 2.4.02.4.2

Products include Apache Shenyu.

How do I fix CVE-2022-23945?

Upgrade org.apache.shenyu:shenyu-common to 2.4.2 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-23945 being exploited?

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

Sources

Also known as GHSA-7rjp-fgwj-47rw.

Is CVE-2022-23945 in your software?

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

Check your SBOMs for free