CVE-2023-32079 Netmaker Privilige Escalation Vulnerability

High 8.8 Published Updated

A mass assignment flaw allows non-admin users to escalate privileges to admin, requiring an upgrade to patched versions.

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

What is CVE-2023-32079?

CVE-2023-32079 is a high-severity vulnerability in gravitl netmaker, published on 24 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Netmaker makes networks with WireGuard. A Mass assignment vulnerability was found in versions prior to 0.17.1 and 0.18.6 that allows a non-admin user to escalate privileges to those of an admin user. The issue is patched in 0.17.1 and fixed in 0.18.6. If Users are using 0.17.1, they should run `docker pull gravitl/netmaker:v0.17.1` and `docker-compose up -d`. This will switch them to the patched users If users are using v0.18.0-0.18.5, they should upgrade to v0.18.6 or later. As a workaround, someone using version 0.17.1 can pull the latest docker image of the backend and restart the server.

Weakness: CWE-915

Which versions are affected by CVE-2023-32079?

5 open source packages ship an affected version, including github.com/gravitl/netmaker. It affects 1 product.

PackageAffectedFixed in
github.com/gravitl/netmaker GoAll versions0.17.1, 0.18.6
github.com/gravitl/netmaker GoAll versions0.17.1
github.com/gravitl/netmaker GoAll versions0.17.1
github.com/gravitl/netmaker GoFrom 0.18.00.18.6
github.com/gravitl/netmaker GoFrom 0.18.00.18.6

Products include Netmaker Netmaker.

How do I fix CVE-2023-32079?

Upgrade github.com/gravitl/netmaker to a fixed version for your release line: 0.17.1 or 0.18.6.

Is CVE-2023-32079 being exploited?

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

Sources

Also known as GHSA-826j-8wp2-4x6q, GO-2023-2025.

Is CVE-2023-32079 in your software?

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

Check your SBOMs for free