CVE-2022-32170 bytebase - Improper Authorization

Medium 4.3 Published Updated

Low-privilege users can view admin-created projects via an unprotected API endpoint, exposing sensitive project data.

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-2022-32170?

CVE-2022-32170 is a medium-severity missing authorization vulnerability in bytebase, published on 28 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized user can view the “projects“ created by “Admin” and the affected endpoint is “/api/project?user=${userId}”.

Weakness: CWE-285

Which versions are affected by CVE-2022-32170?

2 open source packages ship an affected version, including github.com/bytebase/bytebase. It affects 1 product.

PackageAffectedFixed in
github.com/bytebase/bytebase GoFrom 0.1.0 to 1.0.4None
github.com/bytebase/bytebase GoFrom 0.1.0 to 1.0.4None

Products include Bytebase Bytebase.

How do I fix CVE-2022-32170?

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

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

Is CVE-2022-32170 being exploited?

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

Sources

Also known as GHSA-9mmc-27gw-w6mq.

Is CVE-2022-32170 in your software?

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

Check your SBOMs for free