Use of Hard-coded Cryptographic Key in Netmaker
Package
Affected versions
< 0.8.5
>= 0.9.0, < 0.9.4
Patched versions
0.8.5
0.9.4
Description
Published by the National Vulnerability Database
Feb 18, 2022
Published to the GitHub Advisory Database
Feb 22, 2022
Reviewed
Feb 22, 2022
Last updated
Feb 3, 2023
Impact
There is a hard-coded cryptographic key in the code base which can be exploited to run admin commands on a remote server, if you know the address and username of the admin. This effects the server (netmaker) component, and not clients.
Patches
This has been patched in Netmaker v0.8.5, v0.9.4, and v0.10.0. If you are running these versions, the fix is to perform the following:
Additional Information
If you are running any other version, you will need to upgrade to one of these three versions. If you have a special circumstance that requires running a different version, let us know and we may be able to build a custom patch.
For more information
If you have any questions or comments about this advisory:
References