CVE-2021-25683
Linux Ubuntu vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-25683 was discovered in the get_starttime() function in data/apport, which did not properly parse the /proc/pid/stat file from the kernel. This vulnerability was identified on January 19, 2021, and affected Ubuntu's Apport crash reporting system (Ubuntu Bug).

Technical details

The vulnerability stems from improper parsing of the /proc/pid/stat file in the getprocessstarttime function. The start time is extracted from the 22nd column of the /proc/pid/stat file, but the parsing mechanism could be manipulated by creating a process with a space character in its filename, causing getprocessstarttime to return incorrect values (Ubuntu Bug). The vulnerability has been assigned a CVSS 3 Severity Score of 7.8 (High) (Ubuntu Security).

Impact

When exploited, this vulnerability could be chained with other vulnerabilities (CVE-2021-25682 and CVE-2021-25684) to achieve local privilege escalation to root from an unprivileged user. The vulnerability allows attackers to bypass the getprocessstartime check by recycling process IDs with specifically crafted filenames (Ubuntu Bug).

Mitigation and workarounds

The vulnerability was patched in multiple Ubuntu versions with security updates released on February 2, 2021. Fixes were implemented in apport versions 2.20.11-0ubuntu50.5 (Groovy), 2.20.9-0ubuntu7.23 (Bionic), 2.20.1-0ubuntu2.30 (Xenial), and 2.20.11-0ubuntu27.16 (Focal). The patch included improvements to skip over manipulated process names and filenames, and ensuring existing reports are regular files (Ubuntu Bug).

Additional resources


SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40266MEDIUM6.5
  • Linux DebianLinux Debian
  • linux-aws-fips
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40263MEDIUM5.1
  • Linux DebianLinux Debian
  • linux
NoNoDec 04, 2025
CVE-2025-66270MEDIUM4.7
  • Linux DebianLinux Debian
  • gnome-shell-extension-gsconnect
NoYesDec 05, 2025
CVE-2025-40265N/AN/A
  • Linux DebianLinux Debian
  • linux
NoNoDec 04, 2025

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