CVE-2018-1182 reveals that it is possible to execute arbitrary code as root by placing an empty file named “~” (tilde) in the root directory of the Msys2 installation.

This issue has been assigned the CVE identifier CVE-2018-1182. CVE-2018-1182 has been assigned by MITRE with the status of “confirmed”. About me This blog is authored by Rahul Chhabria, a security researcher at Trustwave. You can contact him on Twitter.

There are various Linux distributions available for download. Many of them come with a pre-installed copy of the software package manager called “Msys2”. This software package manager is a lightweight alternative to the standard package manager provided by the distribution. When you install Msys2, you have the option to select the location of the Msys2 installation directory. For instance, if you are installing Msys2 on a Windows machine, you can choose the directory where the Msys2 installation is carried out. The default location of the Msys2 installation directory is the “C:\msys64” directory. If you are installing Msys2 on a Unix/Linux system, you can choose the directory where the Msys2 installation is carried out. The default location of the Msys2 installation directory is the “C:\msys64” directory. There are several things that you should keep in mind while installing Ms

Installing Msys2

Msys2 is a software package manager. The installation directory can vary based on the distribution that you choose to install Msys2 on. You get the option to select the installation directory during the installation process.
Msys2 is meant for Unix/Linux systems. There are various Linux distributions available for download. Many of them come with a pre-installed copy of the software package manager called “Msys2”. This software package manager is a lightweight alternative to the standard package manager provided by the distribution. When you install Msys2, you have the option to select the location of the Msys2 installation directory. For instance, if you are installing Msys2 on a Windows machine, you can choose the directory where the Msys2 installation is carried out. The default location of the Msys2 installation directory is "C:\msys64". If you are installing Msys2 on a Unix/Linux system, you can choose the directory where the Msys2 installation is carried out. The default location of the Msys2 installation directory is "C:\msy...

Introduction to Msys2

If you're interested in trying out a lightweight Linux distribution, you can try out the Msys2 software package manager. Msys2 is based on the Minimalist GNU Toolchain (MinGW) and it's designed to be compatible with existing builds of GNU software. It thus provides an easy way to run Linux-based applications in Windows or another MSYS2 installation without having to install anything else.
Msys2 provides a fast, simple, and reliable environment for building and testing software. It comes bundled with many popular GNU software packages such as GCC, Binutils, GDB, Make, and others.  As mentioned before, it is also compatible with existing builds of GNU software. This means that you don't have to reinstall your entire operating system or any other package manager if you are looking to switch from Windows to MSYS2 for example. Unlike most distributions that focus on creating a user interface for ease-of-use and functionality, Microsoft has avoided making things too easy for their customers. This might result in their product being less user-friendly than other distros but more importantly it makes it much easier to maintain a clean system which is important if you're going to use your computer for development work or other tasks that require stability above all else.

Install Msys2 on a Windows machine

If you are installing Msys2 on a Windows machine, the default location for the software package manager is “C:\msys64”. This directory typically contains a few sub-directories and files. The most important file in this directory is the “bin” directory. This directory contains executables that we use to run Linux commands within the Windows command prompt. By default, there are two executables named “Msys2-install” and “Msys2-uninstall” in this directory. These two executables help us perform certain tasks like installing or uninstalling Msys2. If you are interested in knowing more about these executables, read on to find out how they work and what they do:

Installation Requirement

- The following is a list of requirements for the installation of Msys2.

- You need to have installed the GNU Make utility on your system or use an alternate make utility as specified in msys2/msys64/share/doc/msys2-install.txt
- You need to have root privileges on your computer for the installation of Msys2.

Timeline

Published on: 08/30/2022 21:15:00 UTC
Last modified on: 09/06/2022 17:27:00 UTC

References