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

CVE-2020-9272: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-9272 is an out-of-bounds (OOB) read vulnerability discovered in ProFTPD version 1.3.7, specifically affecting the mod_cap module through the cap_text.c cap_to_text function. The vulnerability was discovered and reported by GitHub Security Lab team member Antonio Morales, and was publicly disclosed after a fix was developed (GitHub Issue).

Technical details

The vulnerability occurs in the cap_to_text() function within cap_text.c when it calls getstateflags(caps, n). When getstateflags(cap_t caps, int capno) is called with capno equal to 37, isset_cap((__cap_s *)(&caps->set.inheritable),capno) expands to &((__cap_s *)(&caps->set.inheritable))->_blk[(37)>>5], accessing caps->set.inheritable[1] which is outside of the caps struct bounds (GitHub Issue).

Impact

The out-of-bounds read vulnerability results in accessing memory locations outside the boundaries of the caps struct variable. The vulnerability only affects the 'inheritable' member of the struct, not affecting 'set.effective' or 'set.permited' members (GitHub Issue).

Exploitability

The vulnerability has been assigned a CVSS score of 5.0 (AV:N/AC:L/Au:N/C:P/I:N/A:N), indicating it can be exploited remotely with low attack complexity and no authentication required (Rapid7).

Mitigation and workarounds

The vulnerability has been fixed in ProFTPD version 1.3.6c. Users are advised to upgrade to this version or later. For Gentoo Linux users, the recommended mitigation is to upgrade using the command: emerge --sync && emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.3.6c" (Gentoo 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-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 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