PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2020-25031: 
NixOS vulnerability analysis and mitigation

Overview

Checkinstall 1.6.2 contains a vulnerability that affects package creation when handling symlinks. The vulnerability was discovered and disclosed on August 31, 2020. When creating a package containing a symlink, the software may incorrectly set file permissions, resulting in the creation of a mode 0777 (world-writable) executable file (NVD, Ubuntu Security).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High), with the following vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-59: Improper Link Resolution Before File Access ('Link Following'). The vulnerability specifically manifests when checkinstall is used to create packages containing symbolic links, where the file permission handling mechanism fails to properly preserve the original file permissions (NVD).

Impact

The vulnerability can lead to the creation of world-writable executable files (mode 0777), which could allow any user to modify the contents of the affected files. This could potentially enable local privilege escalation if a root user executes the modified binary, leading to arbitrary code execution with elevated privileges (Launchpad Bug).

Exploitability

The vulnerability requires local access and can be exploited when creating packages containing symlinks. A proof-of-concept exploit has been documented that demonstrates how an attacker could create a package that, when installed, results in world-writable executables that can be modified by any user on the system (Launchpad Bug).

Mitigation and workarounds

As of the latest reports, the vulnerability remains unfixed in multiple distributions including Debian Bullseye, Bookworm, and Sid. The original upstream project appears to be inactive, with no official fix available. The Debian maintainer has acknowledged the issue and indicated work would be done to address the security concerns (Debian Security).

Additional resources


Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-95634HIGH8.6
  • NixOS logoNixOS
  • c2patool
NoYesOct 13, 2026
CVE-2026-95633HIGH7.5
  • NixOS logoNixOS
  • c2patool
NoYesOct 13, 2026
CVE-2026-95632HIGH7.5
  • NixOS logoNixOS
  • c2patool
NoYesOct 13, 2026
CVE-2026-48378MEDIUM5.3
  • NixOS logoNixOS
  • c2patool
NoYesOct 13, 2026
CVE-2026-48377MEDIUM5.3
  • NixOS logoNixOS
  • c2patool
NoYesOct 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management